diff options
author | Guillaume Massé <masgui@gmail.com> | 2018-03-01 05:28:48 +0100 |
---|---|---|
committer | Li Haoyi <haoyi.sg@gmail.com> | 2018-02-28 20:28:48 -0800 |
commit | a6bd3dbe0f9f6d58326f0ffaa0737d07d5a3821f (patch) | |
tree | 3defba186bc48369269eb618cbca3802ea7bab1e /docs/example-2 | |
parent | c7b2fff6badcc595c177f85c7331cc4868c73412 (diff) | |
download | mill-a6bd3dbe0f9f6d58326f0ffaa0737d07d5a3821f.tar.gz mill-a6bd3dbe0f9f6d58326f0ffaa0737d07d5a3821f.tar.bz2 mill-a6bd3dbe0f9f6d58326f0ffaa0737d07d5a3821f.zip |
Add dsl for SCM (now called VersionControl) (#168)
The scm url syntax is a source of confusion for developper. I added VersionControl.github() to simplify this process. We can add other common VersionControl url scheme like Bazar, etc.
Diffstat (limited to 'docs/example-2')
-rw-r--r-- | docs/example-2/build.sc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/docs/example-2/build.sc b/docs/example-2/build.sc index 9457b51a..e8cb27ef 100644 --- a/docs/example-2/build.sc +++ b/docs/example-2/build.sc @@ -10,10 +10,7 @@ object foo extends PublishModule{ organization = "com.lihaoyi", url = "https://github.com/lihaoyi/example", licenses = Seq(License.MIT), - scm = SCM( - "git://github.com/lihaoyi/example.git", - "scm:git://github.com/lihaoyi/example.git" - ), + versionControl = VersionControl.github("lihaoyi", "example"), developers = Seq( Developer("lihaoyi", "Li Haoyi","https://github.com/lihaoyi") ) |