summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLi Haoyi <haoyi.sg@gmail.com>2019-07-08 11:38:23 +0800
committerLi Haoyi <haoyi.sg@gmail.com>2019-07-08 11:38:23 +0800
commit93f2bf7d14aaa27d2bae7b72c97bbfb40c0808e7 (patch)
treecbf28a6dbd732098bb539d7d25c40f2a8814f466
parent4860ed764066c17f4cfbcf6d7ffa2fef24e69087 (diff)
downloadmill-93f2bf7d14aaa27d2bae7b72c97bbfb40c0808e7.tar.gz
mill-93f2bf7d14aaa27d2bae7b72c97bbfb40c0808e7.tar.bz2
mill-93f2bf7d14aaa27d2bae7b72c97bbfb40c0808e7.zip
0.5.00.5.0
-rw-r--r--docs/pages/1 - Intro to Mill.md36
1 files changed, 35 insertions, 1 deletions
diff --git a/docs/pages/1 - Intro to Mill.md b/docs/pages/1 - Intro to Mill.md
index 948ad1a0..e71b9cf5 100644
--- a/docs/pages/1 - Intro to Mill.md
+++ b/docs/pages/1 - Intro to Mill.md
@@ -44,7 +44,7 @@ pkg install mill
### Windows
To get started, download Mill from:
-https://github.com/lihaoyi/mill/releases/download/0.4.2/0.4.2, and save it as
+https://github.com/lihaoyi/mill/releases/download/0.5.0/0.5.0, and save it as
`mill.bat`.
If you're using [Scoop](https://scoop.sh) you can install Mill via
@@ -84,6 +84,40 @@ To get started, download Mill and install it into your system via the following
sudo sh -c '(echo "#!/usr/bin/env sh" && curl -L https://github.com/lihaoyi/mill/releases/download/0.4.2/0.4.2) > /usr/local/bin/mill && chmod +x /usr/local/bin/mill'
```
+### Bootstrap Scripts (Linux/OS-X Only)
+
+If you are using Mill in a codebase, you can commit the bootstrap launcher as a
+`./mill` script in the project folder:
+
+```bash
+curl -L https://github.com/lihaoyi/mill/releases/download/0.5.0/0.5.0 > mill && chmod +x mill
+```
+
+Now, anyone who wants to work with the project can simply use the `./mill`
+script directly:
+
+```bash
+./mill version
+./mill __.compile
+```
+
+The `mill` command will automatically use the version specified by the bootstrap
+script, even if you installed it via other means.
+
+The `./mill` script has a version number embedded within it, which you can
+update simply by editing the script.
+
+Lastly, you can also create a `.mill-version` file to specify the version of
+Mill you wish to use:
+
+```bash
+echo "0.5.0" > .mill-version
+```
+
+`.mill-version` takes precedence over the version of Mill specified in the
+`./mill` script.
+
+
### Development Releases
In case you want to try out the latest features and improvements that are