mirror of
https://github.com/penpot/penpot.git
synced 2025-01-09 00:10:11 -05: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-main.clj
|
||||
|
||||
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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
#!/bin/sh
|
||||
lein trampoline run -m clojure.main scripts/dist-worker.clj
|
||||
|
||||
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
|
||||
|
|
|
@ -1,7 +1,11 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
DIR=`dirname $0`
|
||||
LEIN="$DIR/lein"
|
||||
|
||||
RLWRAP=`which rlwrap`
|
||||
if [ $? != 0 ]; then
|
||||
RLWRAP="";
|
||||
fi
|
||||
|
||||
$RLWRAP lein trampoline run -m clojure.main scripts/figwheel.clj || exit 1
|
||||
LEIN_FAST_TRAMPOLINE=y $RLWRAP $LEIN trampoline run -m clojure.main scripts/figwheel.clj || exit 1
|
||||
|
|
Loading…
Reference in a new issue