diff --git a/deploy.cmd b/deploy.cmd index 757076b..32cf8b2 100644 --- a/deploy.cmd +++ b/deploy.cmd @@ -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 diff --git a/gulpfile.js b/gulpfile.js index 3c4fbae..78da7ca 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -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',