clojure-koans/script/run
2011-03-29 18:38:59 -05:00

14 lines
212 B
Bash
Executable File

#!/bin/sh
CLASSPATH=src
for f in lib/*.jar; do
CLASSPATH=$CLASSPATH:$f
done
if [ "$OSTYPE" = "cygwin" ]; then
CLASSPATH=`cygpath -wp $CLASSPATH`
fi
java -cp "$CLASSPATH" clojure.main -i script/run.clj
echo