Files
penpot/frontend/scripts/dist-view
2017-02-21 12:19:27 +01:00

11 lines
269 B
Bash
Executable File

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