Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 28 lines (21 sloc) 0.483 kb
6574fcb @hoffrocket local sbt script
hoffrocket authored
1 #!/bin/sh
2
3 VERSION=0.11.3-2
4 LATEST=http://typesafe.artifactoryonline.com/typesafe/ivy-releases/org.scala-sbt/sbt-launch/${VERSION}/sbt-launch.jar
5 JAR=.sbtlib/sbt-launch-${VERSION}.jar
6
7 if [ ! -d .sbtlib ]; then
8 mkdir .sbtlib
9 fi
10
11
12
13 if [ ! -f ${JAR} ]; then
14 rm .sbtlib/*
15 echo "Fetching sbt"
16 curl --progress-bar ${LATEST} > ${JAR}
17 fi
18
19 java \
20 -Duser.timezone=UTC \
21 -Djava.awt.headless=true \
22 -Dfile.encoding=UTF-8 \
23 -XX:MaxPermSize=256m \
24 -Xmx1g \
25 -noverify \
26 -jar ${JAR} \
27 "$@"
Something went wrong with that request. Please try again.