diff options
author | Li Haoyi <haoyi.sg@gmail.com> | 2018-02-10 09:32:19 -0800 |
---|---|---|
committer | Li Haoyi <haoyi.sg@gmail.com> | 2018-02-10 09:38:12 -0800 |
commit | 31da68db49d95d8863f34392adf604df538d8cd5 (patch) | |
tree | 633cdfeaa94728623ca66d921466cc2cfef4ea38 /docs/cross.md | |
parent | 2e80b3ae15466ea82a4f8ffa016dee1ee8a62825 (diff) | |
download | mill-31da68db49d95d8863f34392adf604df538d8cd5.tar.gz mill-31da68db49d95d8863f34392adf604df538d8cd5.tar.bz2 mill-31da68db49d95d8863f34392adf604df538d8cd5.zip |
fix docs
Diffstat (limited to 'docs/cross.md')
-rw-r--r-- | docs/cross.md | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/docs/cross.md b/docs/cross.md index fe14a23e..f92678d5 100644 --- a/docs/cross.md +++ b/docs/cross.md @@ -17,12 +17,12 @@ This defines three copies of `FooModule`: `"210"`, `"211"` and `"212"`, each of which has their own `suffix` target. You can then run them via ```bash -mill --show foo[2.10].suffix -mill --show foo[2.10].bigSuffix -mill --show foo[2.11].suffix -mill --show foo[2.11].bigSuffix -mill --show foo[2.12].suffix -mill --show foo[2.12].bigSuffix +mill show foo[2.10].suffix +mill show foo[2.10].bigSuffix +mill show foo[2.11].suffix +mill show foo[2.11].bigSuffix +mill show foo[2.12].suffix +mill show foo[2.12].bigSuffix ``` The modules each also have a `millSourcePath` of @@ -66,13 +66,13 @@ takes two parameters instead of one. This creates the following modules each with their own `suffix` target: ```bash -mill --show foo[210,jvm].suffix -mill --show foo[211,jvm].suffix -mill --show foo[212,jvm].suffix -mill --show foo[210,js].suffix -mill --show foo[211,js].suffix -mill --show foo[212,js].suffix -mill --show foo[212,native].suffix +mill show foo[210,jvm].suffix +mill show foo[211,jvm].suffix +mill show foo[212,jvm].suffix +mill show foo[210,js].suffix +mill show foo[211,js].suffix +mill show foo[212,js].suffix +mill show foo[212,native].suffix ``` ## Using Cross Modules from Outside @@ -121,12 +121,12 @@ class BarModule(crossVersion: String) extends Module{ Here, you can run: ```bash -mill --show foo[2.10].suffix -mill --show foo[2.11].suffix -mill --show foo[2.12].suffix -mill --show bar[2.10].bigSuffix -mill --show bar[2.11].bigSuffix -mill --show bar[2.12].bigSuffix +mill show foo[2.10].suffix +mill show foo[2.11].suffix +mill show foo[2.12].suffix +mill show bar[2.10].bigSuffix +mill show bar[2.11].bigSuffix +mill show bar[2.12].bigSuffix ``` |