#!/bin/sh DIR=`dirname $0` LEIN="$DIR/lein" LEIN_FAST_TRAMPOLINE=y $LEIN trampoline run -m clojure.main scripts/dist-main.clj if [ -x "$(command -v gzip)" ]; then gzip -9c dist/js/main.js > dist/js/main.js.gz fi if [ -x "$(command -v bro)" ]; then bro --verbose --input dist/js/main.js --output dist/js/main.js.br fi