From 93f2bf7d14aaa27d2bae7b72c97bbfb40c0808e7 Mon Sep 17 00:00:00 2001 From: Li Haoyi Date: Mon, 8 Jul 2019 11:38:23 +0800 Subject: 0.5.0 --- docs/pages/1 - Intro to Mill.md | 36 +++++++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) (limited to 'docs') 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 -- cgit v1.2.3