Permalink
Browse files

formatting

  • Loading branch information...
1 parent a8a93d1 commit 2930ab6df8c0588c5b47baf285fa6735159b8c6b @ldeck committed Apr 27, 2012
Showing with 23 additions and 21 deletions.
  1. +23 −21 project/build.scala
View
@@ -11,41 +11,44 @@ object LiftProjectBuild extends Build {
lazy val buildSettings = Seq(
organization := "com.yourorganization",
version := "0.1-SNAPSHOT",
- scalaVersion := "2.9.1")
+ scalaVersion := "2.9.1"
+ )
def yourWebSettings = webSettings ++ Seq(
// If you are use jrebel
scanDirectories in Compile := Nil,
port in container.Configuration := 8080
- )
+ )
lazy val liftQuickstart = Project(
id = "lift-quickstart",
base = file("."),
- settings = defaultSettings ++ yourWebSettings)
+ settings = defaultSettings ++ yourWebSettings
+ )
lazy val defaultSettings = Defaults.defaultSettings ++ Seq(
name := "lift-quickstart",
resolvers ++= Seq(
"Typesafe Repo" at "http://repo.typesafe.com/typesafe/releases",
- "Java.net Maven2 Repository" at "http://download.java.net/maven/2/"),
-
+ "Java.net Maven2 Repository" at "http://download.java.net/maven/2/"
+ ),
libraryDependencies ++= {
- val liftVersion = "2.4"
- Seq(
- "net.liftweb" %% "lift-webkit" % liftVersion % "compile",
- "net.liftweb" %% "lift-wizard" % liftVersion % "compile",
- "net.liftweb" %% "lift-mapper" % liftVersion % "compile",
-
- "com.h2database" % "h2" % "1.3.165" % "compile",
- "ch.qos.logback" % "logback-classic" % "1.0.0" % "compile",
-
- "org.eclipse.jetty" % "jetty-webapp" % "7.5.4.v20111024" % "container",
-
- "org.scala-tools.testing" %% "specs" % "1.6.9" % "test",
- "org.scalatest" %% "scalatest" % "1.6.1" % "test",
- "junit" % "junit" % "4.10" % "test")
- },
+ val liftVersion = "2.4"
+ Seq(
+ "net.liftweb" %% "lift-webkit" % liftVersion % "compile",
+ "net.liftweb" %% "lift-wizard" % liftVersion % "compile",
+ "net.liftweb" %% "lift-mapper" % liftVersion % "compile",
+
+ "com.h2database" % "h2" % "1.3.165" % "compile",
+ "ch.qos.logback" % "logback-classic" % "1.0.0" % "compile",
+
+ "org.eclipse.jetty" % "jetty-webapp" % "7.5.4.v20111024" % "container",
+
+ "org.scala-tools.testing" %% "specs" % "1.6.9" % "test",
+ "org.scalatest" %% "scalatest" % "1.6.1" % "test",
+ "junit" % "junit" % "4.10" % "test"
+ )
+ },
// compile options
scalacOptions ++= Seq("-encoding", "UTF-8", "-deprecation", "-unchecked"),
@@ -55,4 +58,3 @@ object LiftProjectBuild extends Build {
testOptions in Test += Tests.Argument("-oF")
)
}
-

0 comments on commit 2930ab6

Please sign in to comment.