clojure-koans/script/repl.bat

14 lines
267 B
Batchfile
Raw Normal View History

2010-08-09 00:25:42 +00:00
@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