summaryrefslogtreecommitdiff
path: root/build.sc
diff options
context:
space:
mode:
authorLi Haoyi <haoyi.sg@gmail.com>2018-02-04 00:25:29 -0800
committerLi Haoyi <haoyi.sg@gmail.com>2018-02-04 00:25:29 -0800
commitf7a46fe9fb756803e3fdd81f427a7fd42001e71e (patch)
treed4ab21a64cf08833a28c0b11898c889c5a361122 /build.sc
parentf3ea6a59233a05792df49ede660c904c67f6c684 (diff)
downloadmill-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-xbuild.sc7
1 files changed, 3 insertions, 4 deletions
diff --git a/build.sc b/build.sc
index c0a2a55a..e6c45175 100755
--- a/build.sc
+++ b/build.sc
@@ -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))
}
}
}