summaryrefslogtreecommitdiff
path: root/scalajslib
diff options
context:
space:
mode:
authorLi Haoyi <haoyi.sg@gmail.com>2018-02-03 23:21:01 -0800
committerLi Haoyi <haoyi.sg@gmail.com>2018-02-03 23:28:43 -0800
commit7e44da8a8b97f2a2e5d2de489369d5075a6e1ea7 (patch)
tree08b8678d16e26c379e0788e94a78edb505686cb1 /scalajslib
parent91345fce118b67d9ca334a5f3cc973b458e01fc2 (diff)
downloadmill-7e44da8a8b97f2a2e5d2de489369d5075a6e1ea7.tar.gz
mill-7e44da8a8b97f2a2e5d2de489369d5075a6e1ea7.tar.bz2
mill-7e44da8a8b97f2a2e5d2de489369d5075a6e1ea7.zip
flexiblize T.sources and use it widely, which lets us fix --watch
Diffstat (limited to 'scalajslib')
-rw-r--r--scalajslib/test/src/mill/scalajslib/HelloJSWorldTests.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/scalajslib/test/src/mill/scalajslib/HelloJSWorldTests.scala b/scalajslib/test/src/mill/scalajslib/HelloJSWorldTests.scala
index 12102666..4043feff 100644
--- a/scalajslib/test/src/mill/scalajslib/HelloJSWorldTests.scala
+++ b/scalajslib/test/src/mill/scalajslib/HelloJSWorldTests.scala
@@ -36,7 +36,7 @@ object HelloJSWorldTests extends TestSuite {
class BuildModuleUtest(scalaVersion0: String, sjsVersion0: String)
extends BuildModule(scalaVersion0: String, sjsVersion0: String) {
object test extends super.Tests {
- override def sources = T.input{ Agg(PathRef(millSourcePath / 'src / 'utest)) }
+ override def sources = T.sources{ millSourcePath / 'src / 'utest }
def testFramework: T[String] = "utest.runner.Framework"
override def ivyDeps = Agg(
ivy"com.lihaoyi:utest_sjs${scalaJSBinaryVersion()}_${Lib.scalaBinaryVersion(scalaVersion())}:0.6.3"
@@ -48,7 +48,7 @@ object HelloJSWorldTests extends TestSuite {
class BuildModuleScalaTest(scalaVersion0: String, sjsVersion0: String)
extends BuildModule(scalaVersion0: String, sjsVersion0: String) {
object test extends super.Tests {
- override def sources = T.input{ Agg(PathRef(millSourcePath / 'src / 'scalatest)) }
+ override def sources = T.sources{ millSourcePath / 'src / 'scalatest }
def testFramework: T[String] = "org.scalatest.tools.Framework"
override def ivyDeps = Agg(
ivy"org.scalatest:scalatest_sjs${scalaJSBinaryVersion()}_${Lib.scalaBinaryVersion(scalaVersion())}:3.0.4"