summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLi Haoyi <haoyi.sg@gmail.com>2018-02-25 21:37:17 -0800
committerLi Haoyi <haoyi.sg@gmail.com>2018-02-25 21:56:01 -0800
commit08e27d9b94e38f64f6680828c64ab3c0a8f5537f (patch)
treee80bab7f1230d0e2ede5f27e958e46d52ea0cfdc
parentcf7ef024e73b11baac860862bd5f2450611b85b9 (diff)
downloadmill-08e27d9b94e38f64f6680828c64ab3c0a8f5537f.tar.gz
mill-08e27d9b94e38f64f6680828c64ab3c0a8f5537f.tar.bz2
mill-08e27d9b94e38f64f6680828c64ab3c0a8f5537f.zip
0.1.30.1.3
-rw-r--r--clientserver/test/src/mill/clientserver/ClientServerTests.scala1
-rw-r--r--docs/pages/1 - Intro to Mill.md4
-rw-r--r--readme.md10
-rw-r--r--scalajslib/test/src/mill/scalajslib/MultiModuleTests.scala2
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)