summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLi Haoyi <haoyi.sg@gmail.com>2018-08-13 15:38:56 +0800
committerLi Haoyi <haoyi.sg@gmail.com>2018-08-13 15:38:56 +0800
commit54560e32bb7959f09372085193d2d12c93ff55c8 (patch)
tree8077e6d0bd707d6bf4d64114c87c87283fe54184
parenta873d77fbeb4590dceeb893ab067beb9058db241 (diff)
downloadcask-54560e32bb7959f09372085193d2d12c93ff55c8.tar.gz
cask-54560e32bb7959f09372085193d2d12c93ff55c8.tar.bz2
cask-54560e32bb7959f09372085193d2d12c93ff55c8.zip
tweak publishing
-rw-r--r--build.sc2
-rw-r--r--docs/pages/1 - Cask: a Scala HTTP micro-framework .md9
2 files changed, 8 insertions, 3 deletions
diff --git a/build.sc b/build.sc
index 18ca871..76077de 100644
--- a/build.sc
+++ b/build.sc
@@ -134,7 +134,7 @@ def uploadToGithub(authKey: String) = T.command{
)
%%("zip", "-r", f/"out.zip", f/'folder)(T.ctx().dest)
- upload.apply(f/"out.zip", releaseTag, label + "/" + example.last, authKey)
+ upload.apply(f/"out.zip", releaseTag, label + "/" + example.last + ".zip", authKey)
}
}
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 df79f09..bd68ce2 100644
--- a/docs/pages/1 - Cask: a Scala HTTP micro-framework .md
+++ b/docs/pages/1 - Cask: a Scala HTTP micro-framework .md
@@ -78,8 +78,13 @@ ivy"com.lihaoyi::cask:0.1.0"
"com.lihaoyi" %% "cask" % "0.1.0"
```
-Example Projects
-----------------
+Using Cask
+----------
+
+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 `mill -w app.runBackground` or `mill -w app.test` workflows we saw above.
### Minimal Example