Skip to content

Commit

Permalink
Run Mill 0.12 with --ticker=false
Browse files Browse the repository at this point in the history
  • Loading branch information
fthomas committed Dec 30, 2024
1 parent 3522159 commit f0943c9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,7 @@ runSteward := Def.taskDyn {
Seq("--git-ask-pass", s"$home/.github/askpass/$gitHubLogin.sh"),
// Seq("--github-app-id", IO.read(gitHubAppDir / "scala-steward.app-id.txt").trim),
// Seq("--github-app-key-file", s"$gitHubAppDir/scala-steward.private-key.pem"),
Seq("--repo-config", s"$projectDir/.scala-steward.conf"),
Seq("--whitelist", s"$home/.cache/coursier"),
Seq("--whitelist", s"$home/.cache/JNA"),
Seq("--whitelist", s"$home/.cache/mill"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@ final class MillAlg[F[_]](defaultResolver: Resolver)(implicit
)

private def runMill(buildRootDir: File) = {
val command =
Nel("mill", List("--no-server", "--import", cliPluginCoordinate, "show", extractDeps))
val options =
List("--no-server", "--ticker=false", "--import", cliPluginCoordinate, "show", extractDeps)
val command = Nel("mill", options)
processAlg.execSandboxed(command, buildRootDir)
}
private def runMillUnder011(buildRootDir: File, millBuildVersion: Option[Version]) = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ class MillAlgTest extends FunSuite {
repoDir,
"mill",
"--no-server",
"--ticker=false",
"--import",
"ivy:org.scala-steward::scala-steward-mill-plugin::0.18.0",
"show",
Expand Down

0 comments on commit f0943c9

Please sign in to comment.