+ hack on this project < 2 minutes
authorAlexandre Bertails <bertails@w3.org>
Fri, 29 Jul 2011 14:08:16 -0400
changeset 12 6a9484c1131d
parent 11 fc0a0e9197a1
child 13 2ef59024b47f
+ hack on this project < 2 minutes
README
sbt
--- a/README	Fri Jul 29 13:57:23 2011 -0400
+++ b/README	Fri Jul 29 14:08:16 2011 -0400
@@ -2,10 +2,21 @@
 
 You need:
 * Java 1.6
-* sbt 0.10.1 (see https://github.com/harrah/xsbt/wiki)
+* sbt 0.10.1
+  * you can either install it (see https://github.com/harrah/xsbt/wiki)
+  * or just use `./sbt` (will install and configure it for this project)
 
-Then:
+Then `sbt update proguard` will produce `fragdep.jar`.
+
+== Haching on this project ==
+
+There is a test suite, please use it so that you know you don't break
+anything:
+
 [[
-sbt update proguard
+$ sbt
+> test
+[...]
+[success] Total time: 11 s, completed Jul 29, 2011 2:01:19 PM
 ]]
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sbt	Fri Jul 29 14:08:16 2011 -0400
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+dir=$(dirname $0)
+cd "$dir"
+
+if [ ! -f sbt-launch.jar ]; then
+    wget http://typesafe.artifactoryonline.com/typesafe/ivy-releases/org.scala-tools.sbt/sbt-launch/0.10.1/sbt-launch.jar
+fi
+
+java -Xmx512M -jar -Dfile.encoding=UTF8 -Xmx1536M -Xss1M -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=256m "$dir/sbt-launch.jar" "$@"
+