summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLi Haoyi <haoyi.sg@gmail.com>2019-07-10 02:38:30 +0800
committerLi Haoyi <haoyi.sg@gmail.com>2019-07-10 02:38:30 +0800
commitb70ea47e29d01fadad03c7768073ba0e279ca44b (patch)
treedf4021308655a84eb7ef951fd9198b8264c8a718
parent2b62f29882a960ec058deac1623bcac6a19983c6 (diff)
downloadmill-b70ea47e29d01fadad03c7768073ba0e279ca44b.tar.gz
mill-b70ea47e29d01fadad03c7768073ba0e279ca44b.tar.bz2
mill-b70ea47e29d01fadad03c7768073ba0e279ca44b.zip
update readme
-rw-r--r--.mill-version1
-rwxr-xr-xbuild.sc2
-rw-r--r--readme.md18
-rw-r--r--scratch/build.sc1
4 files changed, 11 insertions, 11 deletions
diff --git a/.mill-version b/.mill-version
deleted file mode 100644
index 8f0916f7..00000000
--- a/.mill-version
+++ /dev/null
@@ -1 +0,0 @@
-0.5.0
diff --git a/build.sc b/build.sc
index ed5415f8..cba26933 100755
--- a/build.sc
+++ b/build.sc
@@ -576,7 +576,7 @@ object dev extends MillModule{
case Nil => mill.eval.Result.Failure("Need to pass in cwd as first argument to dev.run")
case wd0 +: rest =>
val wd = os.Path(wd0, os.pwd)
- os.makeDir(wd)
+ os.makeDir.all(wd)
mill.modules.Jvm.baseInteractiveSubprocess(
Seq(launcher().path.toString) ++ rest,
forkEnv(),
diff --git a/readme.md b/readme.md
index 6fb333bf..2e165ab9 100644
--- a/readme.md
+++ b/readme.md
@@ -44,7 +44,7 @@ If you are using IntelliJ IDEA to edit Mill's Scala code, you can create the
IntelliJ project files via:
```bash
-mill mill.scalalib.GenIdea/idea
+./mill mill.scalalib.GenIdea/idea
```
### Automated Tests
@@ -52,10 +52,10 @@ mill mill.scalalib.GenIdea/idea
To run test suites:
```bash
-mill main.test
-mill scalalib.test
-mill scalajslib.test
-mill integration.test
+./mill main.test
+./mill scalalib.test
+./mill scalajslib.test
+./mill integration.test
```
### Manual Testing
@@ -63,7 +63,7 @@ mill integration.test
To manually test Mill on a small build, you can use the `scratch` folder:
```bash
-mill -i dev.run scratch -w show thingy
+./mill -i dev.run scratch -w show thingy
```
This runs your current checkout of Mill on the trivial build defined in
@@ -73,7 +73,7 @@ files, etc. and see how it behaves.
More generally, you can use:
```bash
-mill -i dev.run [target-dir] [...args]
+./mill -i dev.run [target-dir] [...args]
```
To create run your current checkout of Mill in the given `target-dir` with the
@@ -84,7 +84,7 @@ You can also create a launcher-script to let you run the current checkout of
Mill without the bootstrap Mill process present:
```bash
-mill -i dev.launcher
+./mill dev.launcher
```
This creates the `out/dev/launcher/dest/run` launcher script, which you can then
@@ -98,7 +98,7 @@ You can also run your current checkout of Mill on the build in your `scratch/`
folder without the bootstrap Mill process being present via:
```bash
-mill -i dev.launcher && (cd scratch && ../out/dev/launcher/dest/run -w show thingy)
+./mill dev.launcher && (cd scratch && ../out/dev/launcher/dest/run -w show thingy)
```
### Bootstrapping: Building Mill with your current checkout of Mill
diff --git a/scratch/build.sc b/scratch/build.sc
index d2b4ec54..804e1ca4 100644
--- a/scratch/build.sc
+++ b/scratch/build.sc
@@ -9,3 +9,4 @@ object core extends ScalaModule{
)
}
+def thingy = T{ Seq("hello", "world") }