https://github.com/aselab/scala-activerecord-sbtplugin
https://github.com/aselab/scala-activerecord-sbtplugin
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/aselab/scala-activerecord-sbtplugin
- Owner: aselab
- Created: 2012-05-12T12:54:38.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2013-10-14T15:29:24.000Z (over 11 years ago)
- Last Synced: 2024-12-28T22:51:44.532Z (6 months ago)
- Language: CSS
- Size: 2.93 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# scala-activerecord-sbtplugin
Generator for Scala ActiveRecord
add following line to `project/plugins.sbt`
```scala
addSbtPlugin("com.github.aselab" % "scala-activerecord-sbtplugin" % "0.2.3-SNAPSHOT")
```Inject plugin settings into project in build.sbt:
```scala
activerecordSettings
```or project/Build.scala:
```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
```sh
$ bin/sbt
> scripted
> scalatra/scripted
```