mirror of
https://github.com/irmen/prog8.git
synced 2024-12-27 05:29:38 +00:00
fixed cmd scripts
This commit is contained in:
parent
30e6bc92e5
commit
44ee912700
@ -1,8 +1,5 @@
|
|||||||
set PROG8_COMPILER_DIR=compiler
|
set PROG8CLASSPATH=./out/production/compiler;./out/production/parser
|
||||||
|
|
||||||
set PROG8_LIBDIR=%PROG8_COMPILER_DIR%/prog8lib
|
|
||||||
set PROG8CLASSPATH=%PROG8_COMPILER_DIR%/out/production/compiler/
|
|
||||||
set KOTLINPATH=%USERPROFILE%/.IdeaIC2018.3/config/plugins/Kotlin
|
set KOTLINPATH=%USERPROFILE%/.IdeaIC2018.3/config/plugins/Kotlin
|
||||||
set LIBJARS=%KOTLINPATH%/lib/kotlin-stdlib.jar;%KOTLINPATH%/lib/kotlin-reflect.jar;%PROG8_COMPILER_DIR%/antlr/lib/antlr-runtime-4.7.2.jar
|
set LIBJARS=%KOTLINPATH%/lib/kotlin-stdlib.jar;%KOTLINPATH%/lib/kotlin-reflect.jar;./parser/antlr/lib/antlr-runtime-4.7.2.jar
|
||||||
|
|
||||||
java -Dprog8.libdir=%PROG8_LIBDIR% -cp %PROG8CLASSPATH%;%LIBJARS% prog8.CompilerMainKt %*
|
java -cp %PROG8CLASSPATH%;%LIBJARS% prog8.CompilerMainKt %*
|
||||||
|
@ -2,6 +2,6 @@
|
|||||||
|
|
||||||
PROG8CLASSPATH=./out/production/compiler:./out/production/parser
|
PROG8CLASSPATH=./out/production/compiler:./out/production/parser
|
||||||
KOTLINPATH=${HOME}/.IntelliJIdea2018.3/config/plugins/Kotlin
|
KOTLINPATH=${HOME}/.IntelliJIdea2018.3/config/plugins/Kotlin
|
||||||
LIBJARS=${KOTLINPATH}/lib/kotlin-stdlib.jar:${KOTLINPATH}/lib/kotlin-reflect.jar:./parser//antlr/lib/antlr-runtime-4.7.2.jar
|
LIBJARS=${KOTLINPATH}/lib/kotlin-stdlib.jar:${KOTLINPATH}/lib/kotlin-reflect.jar:./parser/antlr/lib/antlr-runtime-4.7.2.jar
|
||||||
|
|
||||||
java -cp ${PROG8CLASSPATH}:${LIBJARS} prog8.CompilerMainKt $*
|
java -cp ${PROG8CLASSPATH}:${LIBJARS} prog8.CompilerMainKt $*
|
||||||
|
5
stackvm.cmd
Normal file
5
stackvm.cmd
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
set PROG8CLASSPATH=./out/production/compiler
|
||||||
|
set KOTLINPATH=%USERPROFILE%/.IdeaIC2018.3/config/plugins/Kotlin
|
||||||
|
set LIBJARS=%KOTLINPATH%/lib/kotlin-stdlib.jar;%KOTLINPATH%/lib/kotlin-reflect.jar
|
||||||
|
|
||||||
|
java -cp %PROG8CLASSPATH%;%LIBJARS% prog8.StackVmMainKt %*
|
Loading…
Reference in New Issue
Block a user