Created
May 3, 2014 19:13
-
-
Save JohnPlummer/7aa122a3f930cae64c89 to your computer and use it in GitHub Desktop.
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
name := "hello" | |
version := "1.0" | |
scalaVersion := "2.11.0" | |
libraryDependencies += "org.scalatest" %% "scalatest" % "2.1.5" % "test" |
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
name := "hello" | |
version := "1.0" | |
scalaVersion := "2.11.0" |
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
class HelloSbt { | |
def sayHello() = "" | |
} |
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
class HelloSbt { | |
def sayHello(name: String) = s"Hello, $name!" | |
} |
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
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