Created
February 4, 2012 09:00
-
-
Save relrod/1736528 to your computer and use it in GitHub Desktop.
SBT Install Script for Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# bash < <(curl -L http://da.gd/sbtinstall) | |
# Or, of course: | |
# bash < <(curl https://raw.github.com/gist/1736528/e9e978c81cc1f8a550973151d3922eede4c9b12a/gistfile1.sh) | |
mkdir -pv ~/bin/ | |
curl -o ~/bin/sbt-launch.jar http://typesafe.artifactoryonline.com/typesafe/ivy-releases/org.scala-tools.sbt/sbt-launch/0.11.2/sbt-launch.jar | |
echo 'java -Xmx512M -jar `dirname $0`/sbt-launch.jar "$@"' > ~/bin/sbt | |
chmod u+x ~/bin/sbt | |
echo 'Make sure ~/bin/ is in your $PATH and that you have a working `java` command.' | |
echo '* DONE *' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment