fix(build): change npm publish script not to remove angular folder when building benchpress
This commit is contained in:
parent
87ac36f65b
commit
47d0942f3f
|
@ -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'
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue