Skip to content

Instantly share code, notes, and snippets.

@sam
Created October 22, 2013 18:36
Show Gist options
  • Save sam/7105733 to your computer and use it in GitHub Desktop.
Save sam/7105733 to your computer and use it in GitHub Desktop.
From Zero to Run with SBT
# (Assuming you have OpenJDK 7 and Homebrew installed.)
# Install SBT:
brew install sbt
# Clone an example application:
git clone [email protected]:ssmoot/scala-map-benchmarks.git
# Download the Scala compiler version specified by the project...
# and download the SBT version specified by the project...
# and download the project dependencies
# (from remote JARs, local classpath, source from Github, wherever)...
# and compile everything...
# and run the main class:
sbt run
# Sure, you could use RVM, Bundler and Rake,
# polute your system and have to run through
# four or five operations and prompts. But why?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment