clojure-koans/script/run
2011-11-28 19:21:22 -06:00

14 lines
234 B
Bash
Executable File

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