diff --git a/.mill-version b/.mill-version index 4dd35ad..13ca94b 100644 --- a/.mill-version +++ b/.mill-version @@ -1 +1 @@ -0.10.13 \ No newline at end of file +0.11.6 \ No newline at end of file diff --git a/build.sc b/build.sc index 4a4889a..3d0cb4a 100644 --- a/build.sc +++ b/build.sc @@ -55,7 +55,7 @@ object `cs-m1-tests` extends ScalaModule { def ivyDeps = super.ivyDeps() ++ Seq( ivy"io.get-coursier:cli-tests_2.12:$coursierVersion" ) - object test extends Tests { + object test extends ScalaTests { def ivyDeps = super.ivyDeps() ++ Seq( ivy"com.lihaoyi::utest::$utestVersion" ) @@ -132,7 +132,8 @@ object ci extends Module { computePublishVersion(state) } } -def copyTo(task: mill.main.Tasks[PathRef], dest: os.Path) = T.command { +def copyTo(task: mill.main.Tasks[PathRef], destPath: String) = T.command { + val dest = os.Path(destPath, millSourcePath) if (task.value.length > 1) sys.error("Expected a single task") val ref = task.value.head()