clojure-koans/script/repl.bat
2010-11-01 20:09:15 -05:00

14 lines
267 B
Batchfile
Executable File

@echo off
setLocal EnableDelayedExpansion
set CLASSPATH="
for /R ./lib %%a in (*.jar) do (
set CLASSPATH=!CLASSPATH!;%%a
)
set CLASSPATH=!CLASSPATH!"
set CLASSPATH=%CLASSPATH%;src
set JLINE=jline.ConsoleRunner
java -Xmx1G -cp "%CLASSPATH%" %JLINE% clojure.main