2020-08-17 13:39:36 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2021-10-05 14:59:56 +02:00
|
|
|
export PENPOT_FLAGS="enable-asserts enable-audit-log $PENPOT_FLAGS"
|
2021-01-29 11:00:54 +01:00
|
|
|
|
2021-12-22 11:33:53 +01:00
|
|
|
export OPTIONS="
|
|
|
|
-A:jmx-remote:dev \
|
|
|
|
-J-Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager \
|
|
|
|
-J-Dlog4j2.configurationFile=log4j2-devenv.xml \
|
2021-12-28 00:04:58 +01:00
|
|
|
-J-XX:+UseZGC \
|
2021-12-22 11:33:53 +01:00
|
|
|
-J-XX:-OmitStackTraceInFastThrow \
|
|
|
|
-J-Xms50m -J-Xmx512m";
|
2021-12-20 11:49:30 +01:00
|
|
|
|
2021-05-10 09:07:56 +02:00
|
|
|
# export OPTIONS="$OPTIONS -J-XX:+UnlockDiagnosticVMOptions";
|
|
|
|
# export OPTIONS="$OPTIONS -J-XX:-TieredCompilation -J-XX:CompileThreshold=10000";
|
2021-03-17 14:21:31 +01:00
|
|
|
|
2021-02-15 13:14:05 +01:00
|
|
|
export OPTIONS_EVAL="nil"
|
|
|
|
# export OPTIONS_EVAL="(set! *warn-on-reflection* true)"
|
|
|
|
|
2021-01-29 11:00:54 +01:00
|
|
|
set -ex
|
2021-02-15 13:14:05 +01:00
|
|
|
exec clojure $OPTIONS -M -e "$OPTIONS_EVAL" -m rebel-readline.main
|