Skip to content

Commit

Permalink
added incanter.bat script
Browse files Browse the repository at this point in the history
  • Loading branch information
liebke committed Dec 12, 2009
1 parent 62a2318 commit 955e27f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions bin/incanter.bat
@@ -0,0 +1,12 @@
@echo off
set INCANTER_HOME=.
set CLASSES_DIR=%INCANTER_HOME%\classes
set INCANTER_JAR=%INCANTER_HOME%\target\incanter-1.0-SNAPSHOT-jar-with-dependencies.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.lang.Script %1 -- %*
)


0 comments on commit 955e27f

Please sign in to comment.