diff options
author | Li Haoyi <haoyi.sg@gmail.com> | 2017-12-25 10:11:36 -0800 |
---|---|---|
committer | Li Haoyi <haoyi.sg@gmail.com> | 2017-12-25 15:50:34 -0800 |
commit | a75ce74b632d5f5f570220a9b10d32587dd90b58 (patch) | |
tree | bc5170624ad520833368b9eb3f52f013cc9d0b5c /core/src/test | |
parent | 048fe23d116793039e7d245edd4afdcc3bdd3cc2 (diff) | |
download | mill-a75ce74b632d5f5f570220a9b10d32587dd90b58.tar.gz mill-a75ce74b632d5f5f570220a9b10d32587dd90b58.tar.bz2 mill-a75ce74b632d5f5f570220a9b10d32587dd90b58.zip |
Refactor `mill.Main` to avoid going through Ammonite's main-method-dispatch system
Diffstat (limited to 'core/src/test')
-rw-r--r-- | core/src/test/scala/mill/main/MainTests.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/test/scala/mill/main/MainTests.scala b/core/src/test/scala/mill/main/MainTests.scala index 73060479..3e0f606b 100644 --- a/core/src/test/scala/mill/main/MainTests.scala +++ b/core/src/test/scala/mill/main/MainTests.scala @@ -13,7 +13,7 @@ object MainTests extends TestSuite{ expected: Either[String, Task[_]]) = { val resolved = for{ - args <- mill.Main.parseArgs(selectorString) + args <- mill.main.RunScript.parseArgs(selectorString) val crossSelectors = args.map{case Mirror.Segment.Cross(x) => x.toList.map(_.toString) case _ => Nil} task <- mill.main.Resolve.resolve(args, mapping.mirror, mapping.base, Nil, crossSelectors, Nil) } yield task |