mirror of
https://github.com/penpot/penpot.git
synced 2025-01-08 16:00:19 -05:00
Add dist.sh script.
This commit is contained in:
parent
680fa49f27
commit
2fa169e28d
3 changed files with 13 additions and 4 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -11,6 +11,7 @@ pom.xml
|
||||||
node_modules
|
node_modules
|
||||||
/backend/target/
|
/backend/target/
|
||||||
/backend/resources/public/media
|
/backend/resources/public/media
|
||||||
|
/backend/dist/
|
||||||
/frontend/target/
|
/frontend/target/
|
||||||
/frontend/dist/
|
/frontend/dist/
|
||||||
/frontend/out/
|
/frontend/out/
|
||||||
|
@ -20,3 +21,4 @@ node_modules
|
||||||
/frontend/resources/public/view
|
/frontend/resources/public/view
|
||||||
/frontend/resources/public/index.html
|
/frontend/resources/public/index.html
|
||||||
/media
|
/media
|
||||||
|
/deploy
|
|
@ -4,6 +4,7 @@
|
||||||
:jvm-opts ["-Xms50m" "-Xmx200m" "-XX:+UseG1GC"]
|
:jvm-opts ["-Xms50m" "-Xmx200m" "-XX:+UseG1GC"]
|
||||||
:main ^:skip-aot uxbox.main}
|
:main ^:skip-aot uxbox.main}
|
||||||
|
|
||||||
:prod
|
:uberjar
|
||||||
{:jvm-opts ^:replace ["-Xms1g" "-Xmx1g" "-XX:+UseG1GC"
|
{:jar-name "uxbox.jar"
|
||||||
"-XX:+AggressiveOpts" "-server"]}}
|
: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