clean with gulp, not deploy
This commit is contained in:
@@ -110,8 +110,6 @@ IF EXIST "%DEPLOYMENT_TARGET%\bower.json" (
|
||||
pushd "%DEPLOYMENT_TARGET%"
|
||||
call rmdir .\components /S /Q
|
||||
call :ExecuteCmd !NPM_CMD! install bower
|
||||
call rmdir .\components\moment /S /Q
|
||||
call rmdir .\components\jquery /S /Q
|
||||
call .\node_modules\.bin\bower install
|
||||
IF !ERRORLEVEL! NEQ 0 goto error
|
||||
popd
|
||||
|
||||
@@ -20,7 +20,7 @@ gulp.task('watch', function() {
|
||||
});
|
||||
|
||||
gulp.task('clean', function(){
|
||||
return gulp.src(['js/bowr.js', 'css/bundle.css'], { read: false }) // much faster
|
||||
return gulp.src(['js/bowr.js', 'css/bundle.css', 'components/moment/**', 'components/jquery/**'], { read: false }) // much faster
|
||||
.pipe(rimraf());
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user