diff options
Diffstat (limited to 'test/release/buble.sh')
-rwxr-xr-x | test/release/buble.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/release/buble.sh b/test/release/buble.sh index 6a14ecad..30455441 100755 --- a/test/release/buble.sh +++ b/test/release/buble.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 } rm -rf tmp/buble \ |