Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100755 19 lines (14 sloc) 0.474 kB
574308d @glebm v1.0
authored
1 # Build dependencies:
2 # * sh
be3f09b @glebm Version 1.4
authored
3 # * UglifyJS (npm install uglify-js)
574308d @glebm v1.0
authored
4 # * CoffeeScript
5
6 echo "Building dombrew.js..."
4f9e37a @glebm fix for ie11
authored
7 coffee -p dombrew.js.coffee > dombrew.js
574308d @glebm v1.0
authored
8
9 echo "Building dombrew.min.js..."
be3f09b @glebm Version 1.4
authored
10 #java -jar compiler.jar --js dombrew.js > dombrew.min.js
4f9e37a @glebm fix for ie11
authored
11 uglifyjs dombrew.js -cm > dombrew.min.js
574308d @glebm v1.0
authored
12
8532c59 @glebm Version 1.2: .prepend(...) and jQuery integration (experimental)
authored
13 echo "Building dombrew.min.js.gz to check the size..."
14 gzip -c9 dombrew.min.js > dombrew.min.js.gz
15
574308d @glebm v1.0
authored
16 echo "Done:"
4f9e37a @glebm fix for ie11
authored
17 du -sh dombrew.js dombrew.min.js dombrew.min.js.gz
be3f09b @glebm Version 1.4
authored
18 rm dombrew.min.js.gz
Something went wrong with that request. Please try again.