mirror of
https://github.com/penpot/penpot.git
synced 2025-01-06 14:50:20 -05:00
Add dist.sh script.
This commit is contained in:
parent
680fa49f27
commit
2fa169e28d
3 changed files with 13 additions and 4 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -11,6 +11,7 @@ pom.xml
|
|||
node_modules
|
||||
/backend/target/
|
||||
/backend/resources/public/media
|
||||
/backend/dist/
|
||||
/frontend/target/
|
||||
/frontend/dist/
|
||||
/frontend/out/
|
||||
|
@ -19,4 +20,5 @@ node_modules
|
|||
/frontend/resources/public/js
|
||||
/frontend/resources/public/view
|
||||
/frontend/resources/public/index.html
|
||||
/media
|
||||
/media
|
||||
/deploy
|
|
@ -4,6 +4,7 @@
|
|||
:jvm-opts ["-Xms50m" "-Xmx200m" "-XX:+UseG1GC"]
|
||||
:main ^:skip-aot uxbox.main}
|
||||
|
||||
:prod
|
||||
{:jvm-opts ^:replace ["-Xms1g" "-Xmx1g" "-XX:+UseG1GC"
|
||||
"-XX:+AggressiveOpts" "-server"]}}
|
||||
:uberjar
|
||||
{:jar-name "uxbox.jar"
|
||||
:uberjar-name "uxbox-backend.jar"
|
||||
:target-path "dist/"}}
|
||||
|
|
6
backend/scripts/dist.sh
Executable file
6
backend/scripts/dist.sh
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
DIR=`dirname $0`
|
||||
LEIN="$DIR/lein"
|
||||
|
||||
LEIN_SNAPSHOTS_IN_RELEASE=1 $LEIN uberjar
|
Loading…
Reference in a new issue