diff options
Diffstat (limited to 'test/release/rollup-ts.sh')
-rwxr-xr-x | test/release/rollup-ts.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/release/rollup-ts.sh b/test/release/rollup-ts.sh index d1888a5c..422e1ea1 100755 --- a/test/release/rollup-ts.sh +++ b/test/release/rollup-ts.sh @@ -4,13 +4,14 @@ alias uglify-js=$PWD/bin/uglifyjs UGLIFY_OPTIONS=$@ minify_in_situ() { + ARGS="$UGLIFY_OPTIONS --in-situ" DIRS="$1" echo '> uglify-js' $DIRS $UGLIFY_OPTIONS for i in `find $DIRS -name '*.js'` do - echo "$i" - uglify-js "$i" $UGLIFY_OPTIONS -o "$i" + ARGS="$ARGS $i" done + uglify-js $ARGS for i in `find $DIRS -name '*.ts' | grep -v '\.d\.ts'` do echo "$i" |