#!/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/butternut \ && git clone https://github.com/Rich-Harris/butternut.git tmp/butternut \ && cd tmp/butternut \ && rm -rf .git/hooks \ && patch -l -p1 <