From caa7ce07b22f18932282c1c943f2a1494ed41846 Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Sun, 17 Jan 2016 19:06:57 +0100 Subject: [PATCH] Existing log files will be removed from the package creation. --- gulpfile.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gulpfile.js b/gulpfile.js index bae96f55..0fe961b2 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -48,6 +48,11 @@ gulp.task('build', function(done) { fs.copySync('README.md', '.tmp-package/README.md'); fs.copySync('LICENSE', '.tmp-package/LICENSE'); + del.sync([ + '.tmp-package/application/logs/*', + '!.tmp-package/application/logs/index.html' + ]) + zip('.tmp-package', { saveTo: 'easyappointments.zip' }, function (err, buffer) { if (err) console.log('Zip Error', err);