Created
September 24, 2012 10:40
-
-
Save tbje/3775402 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
import sbt._ | |
import sbt.Keys._ | |
import com.typesafe.sbtscalariform.ScalariformPlugin._ | |
object Build extends Build { | |
lazy val scalatrain = Project( | |
"scalatrain", | |
file("."), | |
settings = | |
Defaults.defaultSettings ++ | |
scalariformSettings ++ | |
Seq( | |
organization := "com.typesafe.training", | |
version := "2.0.0", | |
scalaVersion := "2.10.0-M7", | |
scalacOptions ++= Seq("-unchecked", "-deprecation", "-language:postfixOps"), | |
libraryDependencies ++= Seq( | |
// Fill in dependencies later | |
), | |
retrieveManaged := true, | |
initialCommands in console := "import com.typesafe.training.scalatrain._" | |
) | |
) | |
} |
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
addSbtPlugin("com.typesafe.sbtscalariform" % "sbtscalariform" % "0.5.1") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment