2018-09-14 23:14:48 +00:00
|
|
|
#!/usr/bin/env sh
|
2018-09-05 20:51:34 +00:00
|
|
|
|
2019-01-08 01:09:35 +00:00
|
|
|
PROG8_COMPILER_DIR=compiler
|
|
|
|
PROG8_LIBDIR=${PROG8_COMPILER_DIR}/prog8lib
|
|
|
|
PROG8CLASSPATH=${PROG8_COMPILER_DIR}/out/production/compiler
|
2018-11-26 23:35:37 +00:00
|
|
|
KOTLINPATH=${HOME}/.IntelliJIdea2018.3/config/plugins/Kotlin
|
2019-01-08 01:09:35 +00:00
|
|
|
LIBJARS=${KOTLINPATH}/lib/kotlin-stdlib.jar:${KOTLINPATH}/lib/kotlin-reflect.jar:${PROG8_COMPILER_DIR}/antlr/lib/antlr-runtime-4.7.2.jar
|
2018-09-05 20:51:34 +00:00
|
|
|
|
2018-09-21 20:43:29 +00:00
|
|
|
java -Dprog8.libdir=${PROG8_LIBDIR} -cp ${PROG8CLASSPATH}:${LIBJARS} prog8.CompilerMainKt $*
|