Skip to content

Commit f0943c9

Browse files
committed
Run Mill 0.12 with --ticker=false
Closes: scala-steward-org/mill-plugin#64
1 parent 3522159 commit f0943c9

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

build.sbt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,7 @@ runSteward := Def.taskDyn {
446446
Seq("--git-ask-pass", s"$home/.github/askpass/$gitHubLogin.sh"),
447447
// Seq("--github-app-id", IO.read(gitHubAppDir / "scala-steward.app-id.txt").trim),
448448
// Seq("--github-app-key-file", s"$gitHubAppDir/scala-steward.private-key.pem"),
449+
Seq("--repo-config", s"$projectDir/.scala-steward.conf"),
449450
Seq("--whitelist", s"$home/.cache/coursier"),
450451
Seq("--whitelist", s"$home/.cache/JNA"),
451452
Seq("--whitelist", s"$home/.cache/mill"),

modules/core/src/main/scala/org/scalasteward/core/buildtool/mill/MillAlg.scala

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,9 @@ final class MillAlg[F[_]](defaultResolver: Resolver)(implicit
4646
)
4747

4848
private def runMill(buildRootDir: File) = {
49-
val command =
50-
Nel("mill", List("--no-server", "--import", cliPluginCoordinate, "show", extractDeps))
49+
val options =
50+
List("--no-server", "--ticker=false", "--import", cliPluginCoordinate, "show", extractDeps)
51+
val command = Nel("mill", options)
5152
processAlg.execSandboxed(command, buildRootDir)
5253
}
5354
private def runMillUnder011(buildRootDir: File, millBuildVersion: Option[Version]) = {

modules/core/src/test/scala/org/scalasteward/core/buildtool/mill/MillAlgTest.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ class MillAlgTest extends FunSuite {
4040
repoDir,
4141
"mill",
4242
"--no-server",
43+
"--ticker=false",
4344
"--import",
4445
"ivy:org.scala-steward::scala-steward-mill-plugin::0.18.0",
4546
"show",

0 commit comments

Comments
 (0)