Skip to content

Commit 2af001a

Browse files
committed
merge
1 parent 43d67b4 commit 2af001a

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

build.mill

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ val bridgeScalaVersions = Seq(
128128
// on the fly anyway. For publishing, we publish everything or a specific version
129129
// if given.
130130
val compilerBridgeScalaVersions =
131-
interp.watchValue(sys.env.get("MILL_COMPILER_BRIDGE_VERSIONS")) match {
131+
mill.define.BuildCtx.watchValue(sys.env.get("MILL_COMPILER_BRIDGE_VERSIONS")) match {
132132
case None | Some("") | Some("none") => Seq.empty[String]
133133
case Some("all") => (essentialBridgeScalaVersions ++ bridgeScalaVersions).distinct
134134
case Some("essential") => essentialBridgeScalaVersions
@@ -185,7 +185,7 @@ def formatDep(dep: Dep) = {
185185
s"${d.module.organization.value}:${d.module.name.value}:${d.versionConstraint.asString}"
186186
}
187187

188-
def listIn(path: os.Path) = interp.watchValue(os.list(path).map(_.last))
188+
def listIn(path: os.Path) = mill.define.BuildCtx.watchValue(os.list(path).map(_.last))
189189

190190
val dummyDeps: Seq[Dep] = Seq(
191191
Deps.DocDeps.millScip,

integration/package.mill

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import mill.T
1414
import mill.define.Cross
1515
import mill.testrunner.TestResult
1616
import millbuild.*
17+
import upickle.implicits.namedTuples.default.given
1718

1819
object `package` extends mill.Module {
1920
// We compile the test code once and then offer multiple modes to

runner/codesig/package.mill

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ object `package` extends MillPublishScalaModule {
1818

1919
override lazy val test: CodeSigTests = new CodeSigTests {}
2020
trait CodeSigTests extends MillScalaTests {
21-
val caseKeys = build.interp.watchValue(
21+
val caseKeys = mill.define.BuildCtx.watchValue(
2222
os.walk(moduleDir / "cases", maxDepth = 3)
2323
.map(_.subRelativeTo(moduleDir / "cases").segments)
2424
.collect { case Seq(a, b, c) => s"$a-$b-$c" }

0 commit comments

Comments
 (0)