Skip to content

Commit 47d0942

Browse files
committed
fix(build): change npm publish script not to remove angular folder when building benchpress
1 parent 87ac36f commit 47d0942

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

scripts/publish/npm_prepare.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ ROOT_DIR=$(cd $(dirname $0)/../..; pwd)
1414
cd $ROOT_DIR
1515

1616
NPM_DIR=$ROOT_DIR/dist/npm
17-
rm -fr $NPM_DIR
1817
FILES='!(test|e2e_test|docs)'
1918
DTS_FILES='*.d.ts'
2019

scripts/publish/npm_publish.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ gulp clean
1010
gulp benchpress.bundle bundles.js
1111

1212
NPM_DIR=$ROOT_DIR/dist/npm
13+
rm -fr $NPM_DIR
1314

1415
scripts/publish/npm_prepare.sh angular2
1516
scripts/publish/npm_prepare.sh benchpress

0 commit comments

Comments
 (0)