Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 038cdb9c18
Fetching contributors…

Cannot retrieve contributors at this time

executable file 30 lines (24 sloc) 0.664 kb
#!/bin/bash
files=(jive.js hooks.js events.js history.js store.js registry.js \
template.js result.js \
base.js ui.js helpers.js util.js \
lib/json2.js lib/sha1.js lib/jquery.livequery.js)
cd src
cat >../jive.full.js <<EOT
/**
* Jive - A Javascript Framework
* Copyright (C) 2009 Judd Vinet <jvinet@@zeroflux.org>
*/
EOT
cat ${files[*]} >>../jive.full.js
cd ..
[ -x "jsmin.py" ] && min="./jsmin.py"
# doesn't work yet
#[ -r "compiler.jar" ] && min="java -jar compiler.jar"
cat >jive.min.js <<EOT
/**
* Jive - A Javascript Framework
* Copyright (C) 2009 Judd Vinet <jvinet@@zeroflux.org>
*/
EOT
cat jive.full.js | $min >>jive.min.js
Jump to Line
Something went wrong with that request. Please try again.