Skip to content

Commit

Permalink
Name now includes Lift Edition.
Browse files Browse the repository at this point in the history
  • Loading branch information
d6y committed Apr 7, 2013
1 parent 650e402 commit e8a041d
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 6 deletions.
9 changes: 8 additions & 1 deletion README.markdown
Expand Up @@ -8,7 +8,14 @@ Jars are available via the liftmodules.net repo.

SBT 0.12

libraryDependencies += "net.liftmodules" %% "mongoauth" % "2.5-RC1-0.4"
For *Lift 2.5.x* (Scala 2.9 and 2.10):

libraryDependencies += "net.liftmodules" %% "mongoauth_2.5" % "0.4"

For *Lift 3.0.x* (Scala 2.10):

libraryDependencies += "net.liftmodules" %% "mongoauth_3.0" % "0.5-SNAPSHOT"


# Configuration

Expand Down
12 changes: 8 additions & 4 deletions build.sbt
@@ -1,10 +1,14 @@
name := "mongoauth"

organization := "net.liftmodules"

version := "0.5-SNAPSHOT"

liftVersion <<= liftVersion ?? "2.5-SNAPSHOT"

version <<= liftVersion apply { _ + "-" + "0.5-SNAPSHOT" }
liftEdition <<= liftVersion apply { _.substring(0,3) }

organization := "net.liftmodules"
name <<= (name, liftEdition) { (n, e) => n + "_" + e }

scalaVersion := "2.10.0"

Expand All @@ -18,8 +22,8 @@ resolvers += "Sonatype Snapshot" at "http://oss.sonatype.org/content/repositorie

libraryDependencies <++= (liftVersion) { liftVersion =>
Seq(
"net.liftweb" %% "lift-mongodb-record" % liftVersion % "compile",
"net.liftweb" %% "lift-webkit" % liftVersion % "compile",
"net.liftweb" %% "lift-mongodb-record" % liftVersion % "provided",
"net.liftweb" %% "lift-webkit" % liftVersion % "provided",
"ch.qos.logback" % "logback-classic" % "1.0.3" % "provided",
"org.scalatest" %% "scalatest" % "1.9.1" % "test",
"org.mindrot" % "jbcrypt" % "0.3m" % "compile"
Expand Down
4 changes: 3 additions & 1 deletion project/LiftModule.scala
Expand Up @@ -3,7 +3,9 @@ import sbt.Keys._

object LiftModuleBuild extends Build {

val liftVersion = SettingKey[String]("liftVersion", "Version number of the Lift Web Framework")
val liftVersion = SettingKey[String]("liftVersion", "Full version number of the Lift Web Framework")

val liftEdition = SettingKey[String]("liftEdition", "Lift Edition (short version number to append to artifact name)")

val project = Project("LiftModule", file("."))

Expand Down

0 comments on commit e8a041d

Please sign in to comment.