summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorLi Haoyi <haoyi.sg@gmail.com>2019-06-29 22:28:16 -0700
committerLi Haoyi <haoyi.sg@gmail.com>2019-06-30 02:54:39 -0700
commit4896f5150ff0f7386a573b7191cfb652ed42a047 (patch)
tree3611d90bfb0e918c0c5e10f3dc1eab11fe09d07c /docs
parent29fc3b6c8f74ece3b6e6cf354f0e342bbf8511ac (diff)
downloadcask-4896f5150ff0f7386a573b7191cfb652ed42a047.tar.gz
cask-4896f5150ff0f7386a573b7191cfb652ed42a047.tar.bz2
cask-4896f5150ff0f7386a573b7191cfb652ed42a047.zip
upgrade Mill to latest version
Diffstat (limited to 'docs')
-rw-r--r--docs/pages/1 - Cask: a Scala HTTP micro-framework.md14
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/pages/1 - Cask: a Scala HTTP micro-framework.md b/docs/pages/1 - Cask: a Scala HTTP micro-framework.md
index e7e72b5..093c8c3 100644
--- a/docs/pages/1 - Cask: a Scala HTTP micro-framework.md
+++ b/docs/pages/1 - Cask: a Scala HTTP micro-framework.md
@@ -37,7 +37,7 @@ app/test/src/ExampleTests.scala
- `cd` into the folder, and run
```bash
-./cask -w app.runBackground
+./mill -w app.runBackground
```
This will server up the Cask application on `http://localhost:8080`. You can
@@ -64,13 +64,13 @@ These HTTP calls are part of the test suite for the example project, which you
can run using:
```bash
-./cask -w app.test
+./mill -w app.test
```
To configure your Cask application to work with IntelliJ, you can use:
```bash
-./cask mill.scalalib.GenIdea/idea
+./mill mill.scalalib.GenIdea/idea
```
This will need to be re-run when you re-configure your `build.sc` file, e.g.
@@ -87,16 +87,16 @@ ivy"com.lihaoyi::cask:0.1.9"
"com.lihaoyi" %% "cask" % "0.1.9"
```
-The `./cask` command is just a wrapper around the
+The `./mill` command is just a wrapper around the
[Mill build tool](http://www.lihaoyi.com/mill/); the `build.sc` files you see in
all examples are Mill build files, and you can use your own installation of Mill
-instead of `./cask` if you wish. All normal Mill commands and functionality
-works for `./cask`.
+instead of `./mill` if you wish. All normal Mill commands and functionality
+works for `./mill`.
The following examples will walk you through how to use Cask to accomplish tasks
common to anyone writing a web application. Each example comes with a
downloadable example project with code and unit tests, which you can use via the
-same `./cask -w app.runBackground` or `./cask -w app.test` workflows we saw above.
+same `./mill -w app.runBackground` or `./mill -w app.test` workflows we saw above.
## Minimal Example