Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add 'sbt' script

Suggested-by: Aki Saarinen <aki.saarinen@valotrading.com>
Signed-off-by: Jussi Virtanen <jussi.virtanen@valotrading.com>
  • Loading branch information...
commit 695873f5e7e96dbffc5203af4e1059122c0364ac 1 parent 21d5141
@jvirtanen jvirtanen authored
Showing with 19 additions and 3 deletions.
  1. +1 −0  .gitignore
  2. +3 −3 README.md
  3. +15 −0 sbt
View
1  .gitignore
@@ -6,6 +6,7 @@ target/
/bin
/build
/data
+/sbt-launch.jar
/stirling.jar
/stirling.log
/out
View
6 README.md
@@ -20,16 +20,16 @@ Hacking
Open a FIX console:
- sbt one-jar
+ ./sbt one-jar
java -jar stirling.jar
Run all unit tests:
- sbt test
+ ./sbt test
Run the performance test:
- sbt make-perftest
+ ./sbt make-perftest
script/perftest
View
15 sbt
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+CURL="curl"
+
+JAVA="java"
+JAVA_OPTS="-Xms512M -Xmx2048M -Xss1M -XX:MaxPermSize=512M"
+
+SBT="sbt-launch.jar"
+SBT_URL="http://typesafe.artifactoryonline.com/typesafe/ivy-releases/org.scala-tools.sbt/sbt-launch/0.11.2/sbt-launch.jar"
+
+if [ ! -e $SBT ]; then
+ $CURL -O -s $SBT_URL
+fi
+
+$JAVA $JAVA_OPTS -jar $SBT "$@"
Please sign in to comment.
Something went wrong with that request. Please try again.