Skip to content

Instantly share code, notes, and snippets.

@retronym
Created January 22, 2013 21:27
Show Gist options
  • Save retronym/4598588 to your computer and use it in GitHub Desktop.
Save retronym/4598588 to your computer and use it in GitHub Desktop.
try a library with sbt-extras
~/code/scratch1 sbt -sbt-create -scala-version 2.10.0 'set libraryDependencies += "org.scalaz" %% "scalaz-core" % "7.0.0-M7"' 'console'
Detected sbt version 0.12.2-RC2
Using /Users/jason/.sbt/0.12.2-RC2 as sbt dir, -sbt-dir to override.
[info] Set current project to default-821d14 (in build file:/Users/jason/code/scratch1/)
[info] Defining */*:log-level
[info] The new value will be used by no settings or tasks.
[info] Reapplying settings...
[info] Set current project to default-821d14 (in build file:/Users/jason/code/scratch1/)
[info] Defining {.}/*:scala-version
[info] The new value will be used by no settings or tasks.
[info] Reapplying settings...
[info] Set current project to default-821d14 (in build file:/Users/jason/code/scratch1/)
[info] Defining */*:console-project::trace-level, */*:console::trace-level and 2 others.
[info] The new values will be used by no settings or tasks.
[info] Run `last` for details.
[info] Reapplying settings...
[info] Set current project to default-821d14 (in build file:/Users/jason/code/scratch1/)
[info] Defining *:library-dependencies
[info] The new value will be used by *:all-dependencies
[info] Reapplying settings...
[info] Set current project to default-821d14 (in build file:/Users/jason/code/scratch1/)
[info] Updating {file:/Users/jason/code/scratch1/}default-821d14...
[info] Resolving org.scalaz#scalaz-core_2.10;7.0.0-M7 ...
[info] downloading http://repo1.maven.org/maven2/org/scalaz/scalaz-core_2.10/7.0.0-M7/scalaz-core_2.10-7.0.0-M7.jar ...
[info] [SUCCESSFUL ] org.scalaz#scalaz-core_2.10;7.0.0-M7!scalaz-core_2.10.jar(bundle) (12819ms)
[info] Done updating.
[info] Starting scala interpreter...
[info]
Welcome to Scala version 2.10.0 (Java HotSpot(TM) 64-Bit Server VM, Java 1.6.0_27).
Type in expressions to have them evaluated.
Type :help for more information.
scala> import scalaz.Scalaz
import scalaz.Scalaz
@retronym
Copy link
Author

This quickstart was brought to you by sbt-extras

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment