This commit is contained in:
Michiel Borkent 2021-02-25 11:22:59 +01:00
parent cdbf94943e
commit bdfc6e09b6
2 changed files with 3 additions and 3 deletions

View file

@ -75,7 +75,8 @@
[com.opentable.components/otj-pg-embedded "0.13.3"]]}] [com.opentable.components/otj-pg-embedded "0.13.3"]]}]
:uberjar {:global-vars {*assert* false} :uberjar {:global-vars {*assert* false}
:jvm-opts ["-Dclojure.compiler.direct-linking=true" :jvm-opts ["-Dclojure.compiler.direct-linking=true"
"-Dclojure.spec.skip-macros=true"] "-Dclojure.spec.skip-macros=true"
"-Dborkdude.dynaload.aot=true"]
:main babashka.main :main babashka.main
:aot :all} :aot :all}
:reflection {:main babashka.impl.classes/generate-reflection-file}} :reflection {:main babashka.impl.classes/generate-reflection-file}}

View file

@ -41,8 +41,7 @@ BABASHKA_BINARY=${BABASHKA_BINARY:-"bb"}
args=( "-jar" "$BABASHKA_JAR" args=( "-jar" "$BABASHKA_JAR"
"-H:Name=$BABASHKA_BINARY" "-H:Name=$BABASHKA_BINARY"
"-H:+ReportExceptionStackTraces" "-H:+ReportExceptionStackTraces"
"-J-Dclojure.spec.skip-macros=true" "-J-Dborkdude.dynaload.aot=true"
"-J-Dclojure.compiler.direct-linking=true"
"-H:IncludeResources=BABASHKA_VERSION" "-H:IncludeResources=BABASHKA_VERSION"
"-H:IncludeResources=SCI_VERSION" "-H:IncludeResources=SCI_VERSION"
"-H:ReflectionConfigurationFiles=reflection.json" "-H:ReflectionConfigurationFiles=reflection.json"