Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aselab/scala-activerecord-sbtplugin
https://github.com/aselab/scala-activerecord-sbtplugin
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/aselab/scala-activerecord-sbtplugin
- Owner: aselab
- Created: 2012-05-12T12:54:38.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-10-14T15:29:24.000Z (about 11 years ago)
- Last Synced: 2024-03-26T10:31:41.049Z (9 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
```