Skip to content

Instantly share code, notes, and snippets.

@tbje
Created September 24, 2012 10:40
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 tbje/3775402 to your computer and use it in GitHub Desktop.
Save tbje/3775402 to your computer and use it in GitHub Desktop.
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._"
)
)
}
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