clojure-koans/script/run
2011-03-29 19:15:17 -04:00

14 lines
212 B
Bash

#!/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