Generator for Scala ActiveRecord
add following line to project/plugins.sbt
addSbtPlugin("com.github.aselab" % "scala-activerecord-sbtplugin" % "0.2.3-SNAPSHOT")
Inject plugin settings into project in build.sbt:
activerecordSettings
or project/Build.scala:
import sbt._
import Keys._
import com.github.aselab.activerecord.Plugin._
object MyBuild extends Build {
lazy val root = Project("root", file("."),
settings = Defaults.defaultSettings ++ activerecordSettings)
}
sbt-test
$ bin/sbt
> scripted
> scalatra/scripted