mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-25 17:33:19 +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('README.md', '.tmp-package/README.md');
|
||||||
fs.copySync('LICENSE', '.tmp-package/LICENSE');
|
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) {
|
zip('.tmp-package', { saveTo: 'easyappointments.zip' }, function (err, buffer) {
|
||||||
if (err)
|
if (err)
|
||||||
console.log('Zip Error', err);
|
console.log('Zip Error', err);
|
||||||
|
|
Loading…
Reference in a new issue