From 9ea2e2d75327ea531d1afd6fac042b9cd3c29221 Mon Sep 17 00:00:00 2001 From: Martin Hansen Date: Sun, 17 Sep 2023 19:39:46 +0200 Subject: [PATCH] chore: move declaration of test-dependencies Now that scala-cli support syntax for declaration of test-dependencies, there's no more need to declare them separately in the test-dir. --- project.scala | 5 ++++- src/test/conf.scala | 3 --- 2 files changed, 4 insertions(+), 4 deletions(-) delete mode 100644 src/test/conf.scala diff --git a/project.scala b/project.scala index f0cdeba..2070aa3 100644 --- a/project.scala +++ b/project.scala @@ -1,8 +1,11 @@ //> using scala "3.3.1" //> using platform "jvm", "scala-js", "native" -//> using lib "org.scalacheck::scalacheck::1.17.0" //> using jvm "8" +//> using dep "org.scalacheck::scalacheck::1.17.0" +//> using test.dep "org.scalameta::munit::1.0.0-M10" +//> using test.dep "org.scalameta::munit-scalacheck::1.0.0-M10" + //> using option "-Xfatal-warnings" //> using option "-Wunused:all" //> using test.option "-Wunused:imports" diff --git a/src/test/conf.scala b/src/test/conf.scala deleted file mode 100644 index 65e735c..0000000 --- a/src/test/conf.scala +++ /dev/null @@ -1,3 +0,0 @@ -// must be defined here - see https://github.com/VirtusLab/scala-cli/issues/1729 -//> using lib "org.scalameta::munit::1.0.0-M10" -//> using lib "org.scalameta::munit-scalacheck::1.0.0-M10"