From 6834b7a78985c0d828e22fcc0f41f78f035335a4 Mon Sep 17 00:00:00 2001 From: Yinan Xu Date: Thu, 28 Nov 2024 10:34:08 +0800 Subject: [PATCH] Bump Mill 0.12.3 (#516) --- .mill-version | 2 +- build.sc | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.mill-version b/.mill-version index 1ee43fc53..aa22d3ce3 100644 --- a/.mill-version +++ b/.mill-version @@ -1 +1 @@ -0.11.8 +0.12.3 diff --git a/build.sc b/build.sc index 96051e26b..12b3ff4fc 100644 --- a/build.sc +++ b/build.sc @@ -13,7 +13,6 @@ * See the Mulan PSL v2 for more details. ***************************************************************************************/ -import os.Path import mill._ import mill.api.PathRef import scalalib._ @@ -43,7 +42,7 @@ object design extends Cross[DiffTestModule](ivys.chiselCrossVersions.keys.toSeq) trait DiffTestModule extends CommonDiffTest { - override def millSourcePath = os.pwd + override def millSourcePath = os.Path(sys.env("MILL_WORKSPACE_ROOT")) override def scalacOptions = super.scalacOptions() ++ Seq("-Xfatal-warnings", "-deprecation:false", "-unchecked", "-Xlint") @@ -53,9 +52,9 @@ trait DiffTestModule extends CommonDiffTest { object difftest extends Cross[Difftest](ivys.chiselCrossVersions.keys.toSeq) trait Difftest extends CommonDiffTest { outer => - override def millSourcePath = os.pwd + override def millSourcePath = os.Path(sys.env("MILL_WORKSPACE_ROOT")) - object test extends SbtModuleTests with TestModule.ScalaTest { + object test extends SbtTests with TestModule.ScalaTest { override def millSourcePath = outer.millSourcePath override def sources = T.sources { super.sources() ++ Seq(PathRef(millSourcePath / "src" / "generator" / s"$crossValue"))