Skip to content
Newer
Older
100755 12 lines (8 sloc) 303 Bytes
a5afc54 @molnarg Adding the build script.
authored
1 #!/bin/bash
2
3 DEBUG="js-schema.debug.js"
4 MIN="js-schema.min.js"
5
6 echo '(function(){' >$DEBUG
7 browserify index.js | head -n -2 >>$DEBUG
8 echo 'window.schema = require("/index.js");' >>$DEBUG
9 echo '}())' >>$DEBUG
10
11 uglifyjs $DEBUG >$MIN
Something went wrong with that request. Please try again.