diff options
author | Roman Timushev <rtimush@gmail.com> | 2017-12-13 13:42:09 +0100 |
---|---|---|
committer | Roman Timushev <rtimush@gmail.com> | 2017-12-13 13:50:01 +0100 |
commit | 46a1d3b5fd9c7eb9e262d861d75390077cab96eb (patch) | |
tree | 4c81d2290485aa6a01dcc74cc8e962832aea0930 /readme.md | |
parent | 34494b02ac6622534694dd4285da5d5f224b8885 (diff) | |
download | mill-46a1d3b5fd9c7eb9e262d861d75390077cab96eb.tar.gz mill-46a1d3b5fd9c7eb9e262d861d75390077cab96eb.tar.bz2 mill-46a1d3b5fd9c7eb9e262d861d75390077cab96eb.zip |
Move assemble to a separate module
Diffstat (limited to 'readme.md')
-rw-r--r-- | readme.md | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -14,7 +14,7 @@ sbt core/test Build a standalone executable jar: ```bash -sbt scalaplugin/test:assembly +sbt bin/test:assembly ``` Now you can re-build this very same project using the build.sc file, e.g. re-run @@ -22,16 +22,16 @@ core unit tests e.g.: ```bash -./scalaplugin/target/mill run Core.compile -./scalaplugin/target/mill run Core.test.compile -./scalaplugin/target/mill run Core.test -./scalaplugin/target/mill run ScalaPlugin.assembly +./bin/target/mill run Core.compile +./bin/target/mill run Core.test.compile +./bin/target/mill run Core.test +./bin/target/mill run ScalaPlugin.assembly ``` there is already a `watch` option that looks for changes on files, e.g.: ```bash -./scalaplugin/target/mill --watch run Core.compile +./bin/target/mill --watch run Core.compile ``` output will be generated into a the `./out` folder. @@ -39,7 +39,7 @@ output will be generated into a the `./out` folder. Lastly, you can generate IntelliJ Scala project files using Mill via ```bash -./scalaplugin/target/mill idea +./bin/target/mill idea ``` Allowing you to import a Mill project into Intellij without using SBT @@ -50,7 +50,7 @@ Mill provides a build REPL, which lets you explore the build interactively and run `Target`s from Scala code: ```scala -lihaoyi mill$ scalaplugin/target/mill --repl +lihaoyi mill$ bin/target/mill --repl Loading... Compiling (synthetic)/ammonite/predef/interpBridge.sc Compiling (synthetic)/ammonite/predef/replBridge.sc @@ -120,13 +120,13 @@ Mill executables that can you can use to run Mill commands: git clean -xdf # Build Mill executable using SBT -sbt scalaplugin/test:assembly +sbt bin/test:assembly # Build Mill executable using the Mill executable generated by SBT -scalaplugin/target/mill run ScalaPlugin.assembly +bin/target/mill run Bin.assembly # Build Mill executable using the Mill executable generated by Mill itself -out/ScalaPlugin/assembly run ScalaPlugin.assembly +out/Bin/assembly run Bin.assembly ``` Eventually, as Mill stabilizes, we will get rid of the SBT build entirely and |