Skip to content
Browse files

added incanter.bat script

  • Loading branch information...
1 parent 62a2318 commit 955e27f7fbf616bfaef478fa5ea5bd03631b5bca @liebke liebke committed Dec 12, 2009
Showing with 12 additions and 0 deletions.
  1. +12 −0 bin/incanter.bat
View
12 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.
Something went wrong with that request. Please try again.