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 | |
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')
-rw-r--r-- | docs/example-2/build.sc | 5 | ||||
-rw-r--r-- | docs/pages/1 - Intro to Mill.md | 5 | ||||
-rw-r--r-- | docs/pages/3 - Common Project Layouts.md | 5 |
3 files changed, 3 insertions, 12 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") ) diff --git a/docs/pages/1 - Intro to Mill.md b/docs/pages/1 - Intro to Mill.md index b2ffe0ec..6de57ac9 100644 --- a/docs/pages/1 - Intro to Mill.md +++ b/docs/pages/1 - Intro to Mill.md @@ -488,10 +488,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") ) diff --git a/docs/pages/3 - Common Project Layouts.md b/docs/pages/3 - Common Project Layouts.md index 275971a6..3af47a45 100644 --- a/docs/pages/3 - Common Project Layouts.md +++ b/docs/pages/3 - Common Project Layouts.md @@ -130,10 +130,7 @@ object foo extends ScalaModule with PublishModule{ organization = "com.lihaoyi", url = "https://github.com/lihaoyi/mill", licenses = Seq(License.MIT), - scm = SCM( - "git://github.com/lihaoyi/mill.git", - "scm:git://github.com/lihaoyi/mill.git" - ), + versionControl = VersionControl.github("lihaoyi", "mill"), developers = Seq( Developer("lihaoyi", "Li Haoyi","https://github.com/lihaoyi") ) |