mirror of
https://github.com/irmen/prog8.git
synced 2024-08-19 14:29:17 +00:00
10 lines
439 B
Bash
Executable File
10 lines
439 B
Bash
Executable File
#!/usr/bin/env sh
|
|
|
|
PROG8CLASSPATH=./compiler/build/classes/kotlin/main:./compiler/build/resources/main
|
|
KOTLINPATH=${HOME}/.IntelliJIdea2019.1/config/plugins/Kotlin
|
|
LIBJARS=${KOTLINPATH}/lib/kotlin-stdlib.jar:${KOTLINPATH}/lib/kotlin-reflect.jar
|
|
|
|
java -cp ${PROG8CLASSPATH}:${LIBJARS} prog8.vm.stackvm.MainKt $*
|
|
|
|
# if you have created a .jar file using the 'create_compiler_jar' script, you can simply do: java -jar prog8compiler.jar -vm
|