From a6bd3dbe0f9f6d58326f0ffaa0737d07d5a3821f Mon Sep 17 00:00:00 2001 From: Guillaume Massé Date: Thu, 1 Mar 2018 05:28:48 +0100 Subject: 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. --- docs/pages/1 - Intro to Mill.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'docs/pages/1 - Intro to Mill.md') 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") ) -- cgit v1.2.3