Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 28 lines (21 sloc) 0.483 kb
#!/bin/sh
VERSION=0.11.3-2
LATEST=http://typesafe.artifactoryonline.com/typesafe/ivy-releases/org.scala-sbt/sbt-launch/${VERSION}/sbt-launch.jar
JAR=.sbtlib/sbt-launch-${VERSION}.jar
if [ ! -d .sbtlib ]; then
mkdir .sbtlib
fi
if [ ! -f ${JAR} ]; then
rm .sbtlib/*
echo "Fetching sbt"
curl --progress-bar ${LATEST} > ${JAR}
fi
java \
-Duser.timezone=UTC \
-Djava.awt.headless=true \
-Dfile.encoding=UTF-8 \
-XX:MaxPermSize=256m \
-Xmx1g \
-noverify \
-jar ${JAR} \
"$@"
Jump to Line
Something went wrong with that request. Please try again.