|
| 1 | +diff --git a/build.mill b/build.mill |
| 2 | +index 4465e163a55..6b8da38aae7 100644 |
| 3 | +--- a/build.mill |
| 4 | ++++ b/build.mill |
| 5 | +@@ -124,7 +124,7 @@ val bridgeScalaVersions = Seq( |
| 6 | + // on the fly anyway. For publishing, we publish everything or a specific version |
| 7 | + // if given. |
| 8 | + val compilerBridgeScalaVersions = |
| 9 | +- interp.watchValue(sys.env.get("MILL_COMPILER_BRIDGE_VERSIONS")) match { |
| 10 | ++ mill.define.BuildCtx.watchValue(sys.env.get("MILL_COMPILER_BRIDGE_VERSIONS")) match { |
| 11 | + case None | Some("") | Some("none") => Seq.empty[String] |
| 12 | + case Some("all") => (essentialBridgeScalaVersions ++ bridgeScalaVersions).distinct |
| 13 | + case Some("essential") => essentialBridgeScalaVersions |
| 14 | +@@ -181,7 +181,7 @@ def formatDep(dep: Dep) = { |
| 15 | + s"${d.module.organization.value}:${d.module.name.value}:${d.versionConstraint.asString}" |
| 16 | + } |
| 17 | + |
| 18 | +-def listIn(path: os.Path) = interp.watchValue(os.list(path).map(_.last)) |
| 19 | ++def listIn(path: os.Path) = mill.define.BuildCtx.watchValue(os.list(path).map(_.last)) |
| 20 | + |
| 21 | + val dummyDeps: Seq[Dep] = Seq( |
| 22 | + Deps.DocDeps.millScip, |
| 23 | +diff --git a/runner/codesig/package.mill b/runner/codesig/package.mill |
| 24 | +index 3950422474a..1ed233d24f7 100644 |
| 25 | +--- a/runner/codesig/package.mill |
| 26 | ++++ b/runner/codesig/package.mill |
| 27 | +@@ -18,7 +18,7 @@ object `package` extends MillPublishScalaModule { |
| 28 | + |
| 29 | + override lazy val test: CodeSigTests = new CodeSigTests {} |
| 30 | + trait CodeSigTests extends MillScalaTests { |
| 31 | +- val caseKeys = build.interp.watchValue( |
| 32 | ++ val caseKeys = mill.define.BuildCtx.watchValue( |
| 33 | + os.walk(moduleDir / "cases", maxDepth = 3) |
| 34 | + .map(_.subRelativeTo(moduleDir / "cases").segments) |
| 35 | + .collect { case Seq(a, b, c) => s"$a-$b-$c" } |
0 commit comments