0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-09 08:20:45 -05:00
penpot/frontend/scripts/dist-worker
2018-11-25 10:48:40 +01:00

14 lines
346 B
Bash
Executable file

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