fix(build): change npm publish script not to remove angular folder when building benchpress

This commit is contained in:
vsavkin 2015-12-01 12:42:54 -08:00
parent 87ac36f65b
commit 47d0942f3f
2 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,6 @@ ROOT_DIR=$(cd $(dirname $0)/../..; pwd)
cd $ROOT_DIR cd $ROOT_DIR
NPM_DIR=$ROOT_DIR/dist/npm NPM_DIR=$ROOT_DIR/dist/npm
rm -fr $NPM_DIR
FILES='!(test|e2e_test|docs)' FILES='!(test|e2e_test|docs)'
DTS_FILES='*.d.ts' DTS_FILES='*.d.ts'

View File

@ -10,6 +10,7 @@ gulp clean
gulp benchpress.bundle bundles.js gulp benchpress.bundle bundles.js
NPM_DIR=$ROOT_DIR/dist/npm NPM_DIR=$ROOT_DIR/dist/npm
rm -fr $NPM_DIR
scripts/publish/npm_prepare.sh angular2 scripts/publish/npm_prepare.sh angular2
scripts/publish/npm_prepare.sh benchpress scripts/publish/npm_prepare.sh benchpress