Created
February 16, 2010 10:04
-
-
Save sroccaserra/305424 to your computer and use it in GitHub Desktop.
clj script (Clojure) for cygwin
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
#!/usr/bin/sh | |
CP=`cygpath -wp '.:/Developer/clojure/clojure.jar:/Developer/clojure-contrib/clojure-contrib.jar'` | |
if [ -z $1 ]; then | |
rlwrap java -cp "$CP" clojure.main | |
else | |
java -cp "$CP" clojure.main "$@" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment