Skip to content

Latest commit

 

History

History
executable file
·
38 lines (26 loc) · 617 Bytes

README.md

File metadata and controls

executable file
·
38 lines (26 loc) · 617 Bytes

scala-activerecord-sbtplugin

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