summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorLi Haoyi <haoyi.sg@gmail.com>2018-02-17 11:33:45 -0800
committerLi Haoyi <haoyi.sg@gmail.com>2018-02-17 11:35:40 -0800
commite9c95bfc06ed371566a9df0890f92702a4f14c7f (patch)
tree2056847bec8453dc7b79d0782d7e076248d08b39 /docs
parenta225e7650892ecc1e672bcaf95dff0d598682583 (diff)
downloadmill-e9c95bfc06ed371566a9df0890f92702a4f14c7f.tar.gz
mill-e9c95bfc06ed371566a9df0890f92702a4f14c7f.tar.bz2
mill-e9c95bfc06ed371566a9df0890f92702a4f14c7f.zip
Resolve individual Scala files before passing them to `ScalaModule#compile`, to ensure other rubbish in the source folders (e.g. vim `.swp` files) do not trigger spurious recompiles
Diffstat (limited to 'docs')
-rw-r--r--docs/pages/1 - Intro to Mill.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/pages/1 - Intro to Mill.md b/docs/pages/1 - Intro to Mill.md
index 20fe83b8..b07595a2 100644
--- a/docs/pages/1 - Intro to Mill.md
+++ b/docs/pages/1 - Intro to Mill.md
@@ -49,13 +49,13 @@ resolved dependency lists, ...) would live in `out/foo/`.
This can be run from the Bash shell via:
```bash
-$ mill foo.compile # compile sources into classfiles
+$ mill foo.compile # compile sources into classfiles
-$ mill foo.run # run the main method, if any
+$ mill foo.runMain foo.ExampleMain # run the specified main method
-$ mill foo.jar # bundle the classfiles into a jar
+$ mill foo.jar # bundle the classfiles into a jar
-$ mill foo.assembly # bundle the classfiles and all dependencies into a jar
+$ mill foo.assembly # bundle classfiles and all dependencies into a jar
```
The most common **tasks** that Mill can run are cached **targets**, such as