summaryrefslogtreecommitdiff
path: root/project/scala.sh
diff options
context:
space:
mode:
Diffstat (limited to 'project/scala.sh')
-rw-r--r--project/scala.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/project/scala.sh b/project/scala.sh
new file mode 100644
index 0000000..5aa0e4e
--- /dev/null
+++ b/project/scala.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+dir="`dirname \"$0\"`"
+dir="`( cd \"$dir\" && pwd )`"
+cp=`echo $dir/*.jar|sed 's/ /:/g'`
+exec scala -classpath "$cp" -savecompiled "$0" "$@"
+!#
+// \ No newline at end of file