mirror of
https://github.com/penpot/penpot.git
synced 2025-06-04 06:01:38 +02:00
Use local lein for frontend dist scripts.
This commit is contained in:
parent
edb1a124d0
commit
daa50470f8
4 changed files with 20 additions and 4 deletions
|
@ -1,5 +1,9 @@
|
|||
#!/bin/sh
|
||||
lein trampoline run -m clojure.main scripts/dist-view.clj
|
||||
|
||||
DIR=`dirname $0`
|
||||
LEIN="$DIR/lein"
|
||||
|
||||
LEIN_FAST_TRAMPOLINE=y $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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue