Permalink
Switch branches/tags
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 23 lines (16 sloc) 426 Bytes
#!/bin/bash
set -e
COFFEE_IN=src/coffee/Singult.coffee
PKG_OUT=pkg/closure-js/libs/singult #dir that'll be sucked into JAR
JS_OUT=dev_public/js/
#Clean output folder
rm -rf $JS_OUT $PKG_OUT
mkdir -p $JS_OUT
#Compile CoffeeScript
coffee \
--compile \
--bare \
--output $JS_OUT $COFFEE_IN
mkdir -p $PKG_OUT
cp -r $JS_OUT $PKG_OUT/
lein jar