Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 13 lines (9 sloc) 418 Bytes
@echo off
set INCANTER_HOME=.
set CLASSES_DIR=%INCANTER_HOME%\classes
set INCANTER_JAR=%INCANTER_HOME%\target\incanter-exec.jar
IF (%1)==() (
java -cp %INCANTER_JAR% -Dclojure.compile.path=%CLASSES_DIR% -Dincanter.home=%INCANTER_HOME% clojure.main
) ELSE (
java -cp %INCANTER_JAR% -Dclojure.compile.path=%CLASSES_DIR% -Dincanter.home=%INCANTER_HOME% clojure.main %1 -- %*
)