Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Tag: v1.5.0
Fetching contributors…

Cannot retrieve contributors at this time

executable file 19 lines (14 sloc) 474 Bytes
# Build dependencies:
# * sh
# * UglifyJS (npm install uglify-js)
# * CoffeeScript
echo "Building dombrew.js..."
coffee -p > dombrew.js
echo "Building dombrew.min.js..."
#java -jar compiler.jar --js dombrew.js > dombrew.min.js
uglifyjs dombrew.js -cm > dombrew.min.js
echo "Building dombrew.min.js.gz to check the size..."
gzip -c9 dombrew.min.js > dombrew.min.js.gz
echo "Done:"
du -sh dombrew.js dombrew.min.js dombrew.min.js.gz
rm dombrew.min.js.gz
Jump to Line
Something went wrong with that request. Please try again.