Skip to content

Commit

Permalink
scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
irmen committed Jul 2, 2019
1 parent d83f49d commit ac70ae6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions p8compile.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ set KOTLINPATH=%USERPROFILE%/.IdeaIC2019.1/config/plugins/Kotlin
set 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 %*

@REM if you have created a .jar file using the 'create_compiler_jar' script, you can simply do: java -jar prog8compiler.jar
2 changes: 2 additions & 0 deletions p8compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ KOTLINPATH=${HOME}/.IntelliJIdea2019.1/config/plugins/Kotlin
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 $*

# if you have created a .jar file using the 'create_compiler_jar' script, you can simply do: java -jar prog8compiler.jar
2 changes: 2 additions & 0 deletions p8vm.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ set KOTLINPATH=%USERPROFILE%/.IdeaIC2019.1/config/plugins/Kotlin
set LIBJARS=%KOTLINPATH%/lib/kotlin-stdlib.jar;%KOTLINPATH%/lib/kotlin-reflect.jar

java -cp %PROG8CLASSPATH%;%LIBJARS% prog8.StackVmMainKt %*

@REM if you have created a .jar file using the 'create_compiler_jar' script, you can simply do: java -jar prog8compiler.jar -vm
2 changes: 2 additions & 0 deletions p8vm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ KOTLINPATH=${HOME}/.IntelliJIdea2019.1/config/plugins/Kotlin
LIBJARS=${KOTLINPATH}/lib/kotlin-stdlib.jar:${KOTLINPATH}/lib/kotlin-reflect.jar

java -cp ${PROG8CLASSPATH}:${LIBJARS} prog8.StackVmMainKt $*

# if you have created a .jar file using the 'create_compiler_jar' script, you can simply do: java -jar prog8compiler.jar -vm

0 comments on commit ac70ae6

Please sign in to comment.