diff options
author | Li Haoyi <haoyi.sg@gmail.com> | 2018-02-04 00:25:29 -0800 |
---|---|---|
committer | Li Haoyi <haoyi.sg@gmail.com> | 2018-02-04 00:25:29 -0800 |
commit | f7a46fe9fb756803e3fdd81f427a7fd42001e71e (patch) | |
tree | d4ab21a64cf08833a28c0b11898c889c5a361122 /build.sc | |
parent | f3ea6a59233a05792df49ede660c904c67f6c684 (diff) | |
download | mill-f7a46fe9fb756803e3fdd81f427a7fd42001e71e.tar.gz mill-f7a46fe9fb756803e3fdd81f427a7fd42001e71e.tar.bz2 mill-f7a46fe9fb756803e3fdd81f427a7fd42001e71e.zip |
Remove the default `publishVersion` from `PublishModule`, and add `--batch` to gpg shellout to avoid popping up a password screen
Diffstat (limited to 'build.sc')
-rwxr-xr-x | build.sc | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -9,6 +9,7 @@ import mill.modules.Jvm.createAssembly trait MillPublishModule extends PublishModule{ def scalaVersion = "2.12.4" + def publishVersion = "0.0.1" def artifactName = "mill-" + super.artifactName() def pomSettings = PomSettings( description = artifactName(), @@ -70,16 +71,14 @@ object core extends MillModule { ivy"com.lihaoyi:::ammonite:1.0.3-21-05b5d32" ) - def generatedSources = T { + def generatedSources = T.sources { shared.generateCoreSources(T.ctx().dest) - Agg(PathRef(T.ctx().dest)) } val test = new Tests(implicitly) class Tests(ctx0: mill.define.Ctx) extends super.Tests(ctx0){ - def generatedSources = T { + def generatedSources = T.sources { shared.generateCoreTestSources(T.ctx().dest) - Agg(PathRef(T.ctx().dest)) } } } |