#!/bin/sh alias uglify-js=$PWD/bin/uglifyjs UGLIFY_OPTIONS=$@ minify_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" done } rm -rf tmp/rollup \ && git clone https://github.com/rollup/rollup.git tmp/rollup \ && cd tmp/rollup \ && rm -rf .git/hooks \ && git checkout 3d80c06f895eab41e648ee99786fa68c72458b80 \ && patch -l -p1 <