Created
May 17, 2012 19:48
-
-
Save leonelag/2721200 to your computer and use it in GitHub Desktop.
Quickly start a swank-clojure server outside a lein project.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
LOCAL_REPO="C:\Users\LLGD\work\maven-repository" | |
CLOJURE_JAR="$LOCAL_REPO\org\clojure\clojure\1.4.0\clojure-1.4.0.jar" | |
SWANK_JAR="$LOCAL_REPO\swank-clojure\swank-clojure\1.4.2\swank-clojure-1.4.2.jar" | |
CLJ_STACKTRACE="$LOCAL_REPO\clj-stacktrace\clj-stacktrace\0.2.4\clj-stacktrace-0.2.4.jar" | |
$JAVA_HOME/bin/java.exe -cp "$CLJ_STACKTRACE;$SWANK_JAR;$CLOJURE_JAR" clojure.main --eval "(require '[swank.swank])(swank.swank/start-server :port 8000)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment