🐛 Properly disable asserts on production code.

This commit is contained in:
Andrey Antukh
2020-12-04 09:46:25 +01:00
committed by Alonso Torres
parent 6b9d91e2be
commit b92045f905
2 changed files with 2 additions and 3 deletions
+1 -1
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
+1 -2
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}}}