2018-09-14 23:14:48 +00:00
|
|
|
#!/usr/bin/env sh
|
2018-09-05 20:51:34 +00:00
|
|
|
|
2019-04-20 11:26:04 +00:00
|
|
|
PROG8CLASSPATH=./compiler/build/classes/kotlin/main:./compiler/build/resources/main:./parser/build/classes/java/main
|
2019-04-11 19:26:46 +00:00
|
|
|
KOTLINPATH=${HOME}/.IntelliJIdea2019.1/config/plugins/Kotlin
|
2019-01-15 16:15:28 +00:00
|
|
|
LIBJARS=${KOTLINPATH}/lib/kotlin-stdlib.jar:${KOTLINPATH}/lib/kotlin-reflect.jar:./parser/antlr/lib/antlr-runtime-4.7.2.jar
|
2018-09-05 20:51:34 +00:00
|
|
|
|
2019-01-10 18:11:45 +00:00
|
|
|
java -cp ${PROG8CLASSPATH}:${LIBJARS} prog8.CompilerMainKt $*
|
2019-07-02 02:39:53 +00:00
|
|
|
|
|
|
|
# if you have created a .jar file using the 'create_compiler_jar' script, you can simply do: java -jar prog8compiler.jar
|