Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

org.hammerlab.sbt:github

org.hammerlab.sbt:github

Helpers for setting projects' SCM-metadata keys to point to a GitHub repo:

addSbtPlugin("org.hammerlab.sbt" % "github" % "5.0.0")

Set GitHub user and repo-name:

github("my-org", "repo-name")

If an org-level plugin sets the githubUser key:

github.user := "my-org"
// apply to projects in ThisBuild
github.user * "my-org"

then downstream projects may just set the repository portion:

github.repo := "repo-name"

The base plugin in this repo does this for Hammer Lab projects.