0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-23 23:18:48 -05:00

🐛 Properly disable asserts on production code.

This commit is contained in:
Andrey Antukh 2020-12-03 10:31:07 +01:00 committed by Alonso Torres
parent 6b9d91e2be
commit b92045f905
2 changed files with 2 additions and 3 deletions

View file

@ -47,7 +47,7 @@ if [ -f ./environ ]; then
fi
set -x
exec \$JAVA_CMD \$JVM_OPTS -classpath \$CP -Dlog4j.configurationFile=./log4j2.xml "\$@" clojure.main -m app.main
exec \$JAVA_CMD \$JVM_OPTS -Dapp.enable-asserts=false -classpath \$CP -Dlog4j.configurationFile=./log4j2.xml "\$@" clojure.main -m app.main
EOF
chmod +x ./target/dist/run.sh

View file

@ -28,8 +28,7 @@
{:compiler-options
{:fn-invoke-direct true
:source-map true
;; :pseudo-names true
;; :pretty-print true
:elide-asserts true
:anon-fn-naming-policy :off
:source-map-detail-level :all}}}