Update gulpfile.js

This commit is contained in:
printempw 2018-02-24 20:08:57 +08:00
parent 7cf044b2ce
commit f94886ce2f

View File

@ -184,10 +184,10 @@ gulp.task('zip', () => {
'!.babelrc', '!.babelrc',
'!.eslintrc.js', '!.eslintrc.js',
'!.eslintignore', '!.eslintignore',
'!.editorconfig',
'!.travis.yml', '!.travis.yml',
'!{.env,.env.testing}', '!{.env,.env.testing}',
'!{.git,.git/**}', '!{.git,.git/**}',
'!{.github,.github/**}',
'!{.gitignore,.gitmodules,.gitattributes}', '!{.gitignore,.gitmodules,.gitattributes}',
'!gulpfile.js', '!gulpfile.js',
'!composer.*', '!composer.*',
@ -197,6 +197,7 @@ gulp.task('zip', () => {
'!phpunit.xml', '!phpunit.xml',
'!package.json', '!package.json',
'!{tests,tests/**}', '!{tests,tests/**}',
'!ISSUE_TEMPLATE.md',
'!{coverage,coverage/**}', '!{coverage,coverage/**}',
'!{node_modules,node_modules/**}', '!{node_modules,node_modules/**}',
'!storage/textures/**', '!storage/textures/**',
@ -233,6 +234,7 @@ function convertNpmRelativePath(paths) {
function clearCache() { function clearCache() {
return del([ return del([
'storage/logs/*', 'storage/logs/*',
'storage/testing/*',
'storage/debugbar/*', 'storage/debugbar/*',
'storage/update_cache/*', 'storage/update_cache/*',
'storage/yaml-translation/*', 'storage/yaml-translation/*',