call clean seperately

This commit is contained in:
Tommy Parnell
2015-08-21 14:19:30 -04:00
parent f4e24003f3
commit 108809b2dc
2 changed files with 1 additions and 2 deletions

View File

@@ -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

View File

@@ -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',