From f96d4198c3a4a1a2eabfab160732c6c7d1c17932 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Thu, 25 Nov 2021 08:15:25 +0100 Subject: [PATCH] :paperclip: Add scripts/repl to common. --- common/scripts/repl | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 common/scripts/repl diff --git a/common/scripts/repl b/common/scripts/repl new file mode 100755 index 0000000000..4570f636f4 --- /dev/null +++ b/common/scripts/repl @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +export PENPOT_FLAGS="enable-asserts enable-audit-log $PENPOT_FLAGS" +export OPTIONS="-A:dev -J-Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager -J-XX:+UseZGC -J-XX:ConcGCThreads=1 -J-XX:-OmitStackTraceInFastThrow -J-Xms50m -J-Xmx512m"; +export OPTIONS_EVAL="nil" +# export OPTIONS_EVAL="(set! *warn-on-reflection* true)" + +set -ex +exec clojure $OPTIONS -M -e "$OPTIONS_EVAL" -m rebel-readline.main