mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-29 03:12:39 +03:00
Existing log files will be removed from the package creation.
This commit is contained in:
parent
18be8b65f7
commit
caa7ce07b2
1 changed files with 5 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue