prog8/compiler/compile.sh
2019-01-08 01:47:59 +01:00

9 lines
355 B
Bash
Executable File

#!/usr/bin/env sh
# PROG8_LIBDIR=../prog8lib
PROG8CLASSPATH=out/production/compiler
KOTLINPATH=${HOME}/.IntelliJIdea2018.3/config/plugins/Kotlin
LIBJARS=${KOTLINPATH}/lib/kotlin-stdlib.jar:${KOTLINPATH}/lib/kotlin-reflect.jar:antlr/lib/antlr-runtime-4.7.2.jar
java -Dprog8.libdir=${PROG8_LIBDIR} -cp ${PROG8CLASSPATH}:${LIBJARS} prog8.CompilerMainKt $*