From 08e27d9b94e38f64f6680828c64ab3c0a8f5537f Mon Sep 17 00:00:00 2001 From: Li Haoyi Date: Sun, 25 Feb 2018 21:37:17 -0800 Subject: 0.1.3 --- .../test/src/mill/clientserver/ClientServerTests.scala | 1 + docs/pages/1 - Intro to Mill.md | 4 ++-- readme.md | 10 ++++++++++ scalajslib/test/src/mill/scalajslib/MultiModuleTests.scala | 2 +- 4 files changed, 14 insertions(+), 3 deletions(-) diff --git a/clientserver/test/src/mill/clientserver/ClientServerTests.scala b/clientserver/test/src/mill/clientserver/ClientServerTests.scala index a02e2733..ed9a49d9 100644 --- a/clientserver/test/src/mill/clientserver/ClientServerTests.scala +++ b/clientserver/test/src/mill/clientserver/ClientServerTests.scala @@ -62,6 +62,7 @@ object ClientServerTests extends TestSuite{ err ) c.run(Array(arg)) + Thread.sleep(100) (new String(out.toByteArray), new String(err.toByteArray)) } } diff --git a/docs/pages/1 - Intro to Mill.md b/docs/pages/1 - Intro to Mill.md index d944a67e..f1b72a9d 100644 --- a/docs/pages/1 - Intro to Mill.md +++ b/docs/pages/1 - Intro to Mill.md @@ -19,7 +19,7 @@ To get started, download Mill and install it into your system via the following `curl`/`chmod` command: ```bash -sudo curl -L -o /usr/local/bin/mill https://github.com/lihaoyi/mill/releases/download/0.1.2/0.1.2 && sudo chmod +x /usr/local/bin/mill +sudo curl -L -o /usr/local/bin/mill https://github.com/lihaoyi/mill/releases/download/0.1.3/0.1.3 && sudo chmod +x /usr/local/bin/mill ``` More recent, unstable versions of Mill are also @@ -69,7 +69,7 @@ $ mill foo.compile # compile sources into classfiles $ mill foo.run # run the main method, if any -$ mill foo.launcher # prepares a foo/dest/run to run your code outside Mill +$ mill foo.launcher # prepares a foo/launcher/dest/run you can run later $ mill foo.jar # bundle the classfiles into a jar diff --git a/readme.md b/readme.md index 9b08c485..4b18e8cb 100644 --- a/readme.md +++ b/readme.md @@ -382,6 +382,16 @@ see what's going on, we should expect them to contribute code! ## Changelog +### 0.1.3 + +- Greatly reduced the overhead of evaluating Mill tasks, with a warm + already-cached `mill dev.launcher` now taking ~450ms instead of ~1000ms + +- Mill now saves compiled build files in `~/.mill/ammonite`, which is + configurable via the `--home` CLI arg. + +- Fixed linking of multi-module Scala.js projects + ### 0.1.2 - Mill now keeps a long-lived work-daemon around in between commands; this diff --git a/scalajslib/test/src/mill/scalajslib/MultiModuleTests.scala b/scalajslib/test/src/mill/scalajslib/MultiModuleTests.scala index 0f2df335..0b7afa55 100644 --- a/scalajslib/test/src/mill/scalajslib/MultiModuleTests.scala +++ b/scalajslib/test/src/mill/scalajslib/MultiModuleTests.scala @@ -32,7 +32,7 @@ object MultiModuleTests extends TestSuite { override def millSourcePath = workspacePath / 'shared } - override def millDiscover = Discover[this.type] + override lazy val millDiscover = Discover[this.type] } val evaluator = TestEvaluator.static(MultiModule) -- cgit v1.2.3