From ba242ed4b75a01f83943d0aaec70a23e82927e96 Mon Sep 17 00:00:00 2001 From: Yinan Xu Date: Wed, 27 Nov 2024 20:27:07 +0800 Subject: [PATCH] Bump Mill 0.12.3 --- .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 cee627329..67f7dd85b 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"))