call clean seperately
This commit is contained in:
@@ -120,6 +120,7 @@ IF EXIST "%DEPLOYMENT_TARGET%\bower.json" (
|
||||
IF EXIST "%DEPLOYMENT_TARGET%\gulpfile.js" (
|
||||
pushd "%DEPLOYMENT_TARGET%"
|
||||
call :ExecuteCmd !NPM_CMD! install gulp gulp-cache-bust gulp-concat-css gulp-uglify html-minifier gulp-concat gulp-rimraf
|
||||
call .\node_modules\.bin\gulp clean
|
||||
call .\node_modules\.bin\gulp publish
|
||||
IF !ERRORLEVEL! NEQ 0 goto error
|
||||
popd
|
||||
|
||||
@@ -88,7 +88,6 @@ gulp.task('cachebust', function(){
|
||||
});
|
||||
|
||||
gulp.task('publish', [
|
||||
'clean',
|
||||
'minfiyCss',
|
||||
'minifyHtml',
|
||||
'minifyJs',
|
||||
@@ -96,7 +95,6 @@ gulp.task('publish', [
|
||||
]);
|
||||
|
||||
gulp.task('default', [
|
||||
'clean',
|
||||
'develop',
|
||||
'combineJs',
|
||||
'combineCss',
|
||||
|
||||
Reference in New Issue
Block a user