From 0c91649e548f4fe6620e067dfe7425e3bca0de62 Mon Sep 17 00:00:00 2001 From: benjaminfrank Date: Sun, 11 Mar 2018 02:31:58 +0100 Subject: Update 1 - Intro to Mill.md (#218) --- docs/pages/1 - Intro to Mill.md | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'docs/pages/1 - Intro to Mill.md') diff --git a/docs/pages/1 - Intro to Mill.md b/docs/pages/1 - Intro to Mill.md index b912bf14..d1e387b5 100644 --- a/docs/pages/1 - Intro to Mill.md +++ b/docs/pages/1 - Intro to Mill.md @@ -17,6 +17,14 @@ external subprocesses. ## Installation +### OS X + +Installation via [homebrew](https://github.com/Homebrew/homebrew-core/blob/master/Formula/mill.rb): + +```sh +brew install mill +``` + ### Arch Linux Arch Linux has an [AUR package for mill](https://aur.archlinux.org/packages/mill/): -- cgit v1.2.3 From 86ac46588beb2c6a29996ce8499165acd3bb357c Mon Sep 17 00:00:00 2001 From: rockjam <5min4eq.unity@gmail.com> Date: Tue, 13 Mar 2018 13:19:50 +0300 Subject: update readme and CI configuration to mill 0.1.5 --- .appveyor.yml | 2 +- .travis.yml | 4 ++-- docs/pages/1 - Intro to Mill.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'docs/pages/1 - Intro to Mill.md') diff --git a/.appveyor.yml b/.appveyor.yml index 376d0ece..09b2d7da 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -30,7 +30,7 @@ cache: install: - cmd: SET PATH=%JAVA_HOME%\bin;C:\bin;C:\%MSYS2_DIR%\%MSYSTEM%\bin;C:\%MSYS2_DIR%\usr\bin;%PATH% - cmd: java -version - - bash -lc "mkdir /c/bin && curl -Lo /c/bin/mill https://github.com/lihaoyi/mill/releases/download/0.1.4/0.1.4-22-95e6cb" + - bash -lc "mkdir /c/bin && curl -Lo /c/bin/mill https://github.com/lihaoyi/mill/releases/download/0.1.5/0.1.5" build_script: - bash -lc "cd /c/mill && mill -i all main.test scalajslib.test" diff --git a/.travis.yml b/.travis.yml index a7c66a8c..17487997 100644 --- a/.travis.yml +++ b/.travis.yml @@ -36,10 +36,10 @@ matrix: jdk: oraclejdk8 script: - - curl -L -o ~/bin/mill https://github.com/lihaoyi/mill/releases/download/0.1.4/0.1.4-22-95e6cb && chmod +x ~/bin/mill + - curl -L -o ~/bin/mill https://github.com/lihaoyi/mill/releases/download/0.1.5/0.1.5 && chmod +x ~/bin/mill - export PATH=~/bin/mill:$PATH - "$CI_SCRIPT" cache: directories: - - $HOME/.coursier \ No newline at end of file + - $HOME/.coursier diff --git a/docs/pages/1 - Intro to Mill.md b/docs/pages/1 - Intro to Mill.md index d1e387b5..83de1eab 100644 --- a/docs/pages/1 - Intro to Mill.md +++ b/docs/pages/1 - Intro to Mill.md @@ -39,7 +39,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.4/0.1.4 && sudo chmod +x /usr/local/bin/mill +sudo curl -L -o /usr/local/bin/mill https://github.com/lihaoyi/mill/releases/download/0.1.5/0.1.5 && sudo chmod +x /usr/local/bin/mill ``` ### Development Releases -- cgit v1.2.3 From 6c0276eb0846158c3a08ba3d05419f690c28376d Mon Sep 17 00:00:00 2001 From: rockjam <5min4eq.unity@gmail.com> Date: Wed, 14 Mar 2018 00:03:23 +0300 Subject: update readme and CI to 0.1.6 --- .appveyor.yml | 2 +- .travis.yml | 2 +- docs/pages/1 - Intro to Mill.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/pages/1 - Intro to Mill.md') diff --git a/.appveyor.yml b/.appveyor.yml index 09b2d7da..73ca0542 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -30,7 +30,7 @@ cache: install: - cmd: SET PATH=%JAVA_HOME%\bin;C:\bin;C:\%MSYS2_DIR%\%MSYSTEM%\bin;C:\%MSYS2_DIR%\usr\bin;%PATH% - cmd: java -version - - bash -lc "mkdir /c/bin && curl -Lo /c/bin/mill https://github.com/lihaoyi/mill/releases/download/0.1.5/0.1.5" + - bash -lc "mkdir /c/bin && curl -Lo /c/bin/mill https://github.com/lihaoyi/mill/releases/download/0.1.6/0.1.6" build_script: - bash -lc "cd /c/mill && mill -i all main.test scalajslib.test" diff --git a/.travis.yml b/.travis.yml index 973f3a54..3898dbfa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -36,7 +36,7 @@ matrix: jdk: oraclejdk8 script: - - curl -L -o ~/bin/mill https://github.com/lihaoyi/mill/releases/download/0.1.5/0.1.5-3-a9d4ee && chmod +x ~/bin/mill + - curl -L -o ~/bin/mill https://github.com/lihaoyi/mill/releases/download/0.1.6/0.1.6 && chmod +x ~/bin/mill - export PATH=~/bin/mill:$PATH - "$CI_SCRIPT" diff --git a/docs/pages/1 - Intro to Mill.md b/docs/pages/1 - Intro to Mill.md index 83de1eab..94ee4a4d 100644 --- a/docs/pages/1 - Intro to Mill.md +++ b/docs/pages/1 - Intro to Mill.md @@ -39,7 +39,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.5/0.1.5 && sudo chmod +x /usr/local/bin/mill +sudo curl -L -o /usr/local/bin/mill https://github.com/lihaoyi/mill/releases/download/0.1.6/0.1.6 && sudo chmod +x /usr/local/bin/mill ``` ### Development Releases -- cgit v1.2.3 From 6aba4d619d11e3f7f2c5128aa34162df655af37b Mon Sep 17 00:00:00 2001 From: Gabriele Petronella Date: Sun, 18 Mar 2018 01:36:28 +0900 Subject: Rename 'describe' to 'inspect' in the docs, following 6336860 (#235) --- docs/pages/1 - Intro to Mill.md | 32 ++++++++++++++++---------------- docs/pages/6 - Extending Mill.md | 2 +- 2 files changed, 17 insertions(+), 17 deletions(-) (limited to 'docs/pages/1 - Intro to Mill.md') diff --git a/docs/pages/1 - Intro to Mill.md b/docs/pages/1 - Intro to Mill.md index 94ee4a4d..63b69601 100644 --- a/docs/pages/1 - Intro to Mill.md +++ b/docs/pages/1 - Intro to Mill.md @@ -46,7 +46,7 @@ sudo curl -L -o /usr/local/bin/mill https://github.com/lihaoyi/mill/releases/dow More recent, unstable versions of Mill are also [available](https://github.com/lihaoyi/mill/releases/tag/unstable), if you want -to try out the latest features and improvements that are currently in master. +to try out the latest features and improvements that are currently in master. Come by our [Gitter Channel](https://gitter.im/lihaoyi/mill) if you want to ask questions or say hi! @@ -105,7 +105,7 @@ $ mill foo.repl # start an Ammonite REPL within your project ``` You can run `mill resolve __` to see a full list of the different tasks that are -available, `mill resolve foo._` to see the tasks within `foo`, `mill describe +available, `mill resolve foo._` to see the tasks within `foo`, `mill inspect foo.compile` to see what an individual task depends on, or `mill show foo.scalaVersion` to inspect the output of any task. @@ -328,10 +328,10 @@ mill resolve __ # list every module or task recursively mill resolve foo.__ # list every task recursively within the foo module ``` -### describe +### inspect ```bash -$ mill describe core.run +$ mill inspect core.run core.run(ScalaModule.scala:211) Inputs: @@ -341,26 +341,26 @@ Inputs: core.forkEnv ``` -`describe` is a more verbose version of [resolve](#resolve). In addition to +`inspect` is a more verbose version of [resolve](#resolve). In addition to printing out the name of one-or-more tasks, it also display's it's source location and a list of input tasks. This is very useful for debugging and interactively exploring the structure of your build from the command line. -`describe` also works with the same `_`/`__` wildcard/query syntaxes that +`inspect` also works with the same `_`/`__` wildcard/query syntaxes that [all](#all)/[resolve](#resolve) do: ```bash -mill describe foo.compile -mill describe foo.{compile,run} -mill describe "foo.{compile,run}" -mill describe foo.compile foo.run -mill describe _.compile -mill describe __.compile -mill describe _ -mill describe foo._ -mill describe __ -mill describe foo._ +mill inspect foo.compile +mill inspect foo.{compile,run} +mill inspect "foo.{compile,run}" +mill inspect foo.compile foo.run +mill inspect _.compile +mill inspect __.compile +mill inspect _ +mill inspect foo._ +mill inspect __ +mill inspect foo._ ``` ### show diff --git a/docs/pages/6 - Extending Mill.md b/docs/pages/6 - Extending Mill.md index a6c096a6..135a63ed 100644 --- a/docs/pages/6 - Extending Mill.md +++ b/docs/pages/6 - Extending Mill.md @@ -177,7 +177,7 @@ def idea(ev: Evaluator[Any]) = T.command{ ``` Many built-in tools are implemented as custom evaluator commands: -[all](intro.html#all), [describe](intro.html#describe), +[all](intro.html#all), [inspect](intro.html#inspect), [resolve](intro.html#resolve), [show](intro.html#show). If you want a way to run Mill commands and programmatically manipulate the tasks and outputs, you do so with your own evaluator command. -- cgit v1.2.3