mirror of
https://github.com/penpot/penpot.git
synced 2025-05-29 23:36:11 +02:00
24 lines
797 B
Bash
Executable file
24 lines
797 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
export PENPOT_FLAGS="enable-asserts enable-audit-log $PENPOT_FLAGS"
|
|
|
|
export JAVA_OPTS="\
|
|
-Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager \
|
|
-Djdk.attach.allowAttachSelf \
|
|
-Dlog4j2.configurationFile=log4j2-devenv-repl.xml \
|
|
-Djdk.tracePinnedThreads=full \
|
|
-XX:+EnableDynamicAgentLoading \
|
|
-XX:-OmitStackTraceInFastThrow \
|
|
-XX:+UnlockDiagnosticVMOptions \
|
|
-XX:+DebugNonSafepoints \
|
|
--sun-misc-unsafe-memory-access=allow \
|
|
--enable-preview \
|
|
--enable-native-access=ALL-UNNAMED";
|
|
|
|
export OPTIONS="-A:dev"
|
|
|
|
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
|