From c1553e5b559663ceca9d7d42c5e2af3bf5ec197a Mon Sep 17 00:00:00 2001 From: printempw Date: Sun, 6 Aug 2017 22:14:14 +0800 Subject: [PATCH] Update gulpfile.js --- gulpfile.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 20419bae..5fcd48f8 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -110,7 +110,7 @@ gulp.task('publish-vendor', ['compile-es6'], callback => { gulp.src(convertNpmRelativePath(images)) .pipe(gulp.dest(`${distPath}/images/`)); // AdminLTE skins - gulp.src('node_modules/admin-lte/dist/css/skins/**') + gulp.src('node_modules/admin-lte/dist/css/skins/*.min.css') .pipe(gulp.dest(`${distPath}/css/skins/`)); // 3D skin preview gulp.src(['skin-preview/**', 'Chart.min.js'].map(path => `${srcPath}/vendor/${path}`)) @@ -152,10 +152,6 @@ gulp.task('clean', () => { gulp.task('zip', () => { clearCache(); - console.info("============================================================================"); - console.info("= Don't forget to compile Sass & ES2015 files before publishing a release! ="); - console.info("============================================================================"); - let zipPath = `blessing-skin-server-v${version}.zip`; console.log(`Zip archive will be saved to ${zipPath}.`); @@ -190,6 +186,7 @@ gulp.task('zip', () => { '!vendor/symfony/css-selector/**/*.*', '!vendor/symfony/dom-crawler/**/*.*' ], { dot: true }) + .pipe(notify('Don\'t forget to compile Sass & ES2015 files before publishing a release!')) .pipe(zip(zipPath)) .pipe(gulp.dest('../')) .pipe(notify({ message: `Zip archive saved to ${zipPath}!` }));