Skip to content

Instantly share code, notes, and snippets.

@JohnPlummer
Created May 3, 2014 19:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JohnPlummer/7aa122a3f930cae64c89 to your computer and use it in GitHub Desktop.
Save JohnPlummer/7aa122a3f930cae64c89 to your computer and use it in GitHub Desktop.
name := "hello"
version := "1.0"
scalaVersion := "2.11.0"
libraryDependencies += "org.scalatest" %% "scalatest" % "2.1.5" % "test"
name := "hello"
version := "1.0"
scalaVersion := "2.11.0"
class HelloSbt {
def sayHello() = ""
}
class HelloSbt {
def sayHello(name: String) = s"Hello, $name!"
}
object Hello {
def main(args: Array[String]) = println("Hello, SBT!")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment