summaryrefslogtreecommitdiff
path: root/docs/pages/1 - Intro to Mill.md
diff options
context:
space:
mode:
authorGuillaume Massé <masgui@gmail.com>2018-03-01 05:28:48 +0100
committerLi Haoyi <haoyi.sg@gmail.com>2018-02-28 20:28:48 -0800
commita6bd3dbe0f9f6d58326f0ffaa0737d07d5a3821f (patch)
tree3defba186bc48369269eb618cbca3802ea7bab1e /docs/pages/1 - Intro to Mill.md
parentc7b2fff6badcc595c177f85c7331cc4868c73412 (diff)
downloadmill-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/pages/1 - Intro to Mill.md')
-rw-r--r--docs/pages/1 - Intro to Mill.md5
1 files changed, 1 insertions, 4 deletions
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")
)