Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kingster/sbt-jira-mandate
sbt-jira-mandate
https://github.com/kingster/sbt-jira-mandate
Last synced: about 2 months ago
JSON representation
sbt-jira-mandate
- Host: GitHub
- URL: https://github.com/kingster/sbt-jira-mandate
- Owner: kingster
- License: mit
- Created: 2015-09-21T21:58:20.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-09-22T18:22:14.000Z (over 9 years ago)
- Last Synced: 2024-10-13T05:26:26.553Z (3 months ago)
- Language: Scala
- Size: 148 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sbt-jira-mandate
An [sbt](http://www.scala-sbt.org/) (Simple Build Tool) plugin for generating [Git Hooks](http://git-scm.com/docs/githooks) to force mandate JIRA-ID in commit's.
## Add Plugin
To add sbt-jira-mandate functionality to your project add the following to your `project/plugins.sbt` file:
```scala
resolvers += Resolver.url("kinshuk-bintray", url("https://dl.bintray.com/kingster/sbt-plugins"))(Resolver.ivyStylePatterns)addSbtPlugin("com.flipkart.jira" % "sbt-jira-mandate" % "1.0.2")
```If you want to use it for more than one project, you can add it to your global plugins file, usually found at: `~/.sbt/plugins/plugins.sbt` and then have it available for all sbt projects. See [Using Plugins](http://www.scala-sbt.org/release/docs/Getting-Started/Using-Plugins.html) for additional information on sbt plugins.
## Enabling Plugin
On your project root add the following to your `built.sbt` file :
```scala
import JiraIdPlugin.autoImport._jira := "BRO"
seq(JiraIdPlugin.settings: _*)
```### Requirements
* sbt 0.13.5+ (requires `AutoPlugin`)
* Scala 2.10.x## Committing Changes
```bash
git commit -m "BRO-XX "
git commit -m "BRO-XX: "
```