Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 0537676e6d
Fetching contributors…

Cannot retrieve contributors at this time

executable file 19 lines (14 sloc) 0.481 kb
# Build dependencies:
# * sh
# * UglifyJS (npm install uglify-js)
# * CoffeeScript
echo "Building dombrew.js..."
coffee -bp dombrew.coffee > dombrew.js
echo "Building dombrew.min.js..."
#java -jar compiler.jar --js dombrew.js > dombrew.min.js
uglifyjs -nc --unsafe dombrew.js > 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 -bh 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.