Explorar o código

修改打包脚本

huqi %!s(int64=5) %!d(string=hai) anos
pai
achega
831d9e5949
Modificáronse 1 ficheiros con 2 adicións e 4 borrados
  1. 2 4
      gulpfile.js

+ 2 - 4
gulpfile.js

@@ -335,13 +335,11 @@ function deploy_server(){
     //.pipe(gutil.noop());
 }
 
-exports.preperation = function(cd){
+exports.preperation =  gulp.series(()=>{
     console.log(`---------------------------------------------------------------------
   . Start to download the dependencies needed for compilation ...
 ---------------------------------------------------------------------`);
-    (gulp.series(download_commons_and_jvm, decompress_commons_and_jvm))();
-    cb();
-}
+}, download_commons_and_jvm, decompress_commons_and_jvm);
 
 var shell = require('gulp-shell')
 exports.build_server = function(){