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:
parent
6b9d91e2be
commit
b92045f905
2 changed files with 2 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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}}}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue