diff --git a/index.html b/index.html index 72b743874b..cfc86f127e 100644 --- a/index.html +++ b/index.html @@ -132,7 +132,7 @@

Cask is a simple Scala web framework inspired by Python's Flask project. It aims to bring simplicity, flexibility and ease-of-use to Scala webservers, avoiding cryptic DSLs or complicated asynchrony.

Getting Started

The easiest way to begin using Cask is by downloading the example project above.

@@ -169,10 +169,10 @@

This will need to be re-run when you re-configure your build.sc file, e.g. when adding additional modules or third-party dependencies.

Cask is just a Scala library, and you can use Cask in any existing Scala project via the following coordinates:

// Mill
-ivy"com.lihaoyi::cask:0.9.2"
+ivy"com.lihaoyi::cask:0.9.3"
 
 // SBT
-"com.lihaoyi" %% "cask" % "0.9.2"
+"com.lihaoyi" %% "cask" % "0.9.3"
 

The ./mill command is just a wrapper around the Mill build tool; the build.sc files you see in all examples are Mill build files, and you can use your own installation of Mill 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 ./mill -w app.runBackground or ./mill -w app.test workflows we saw above.

Minimal Example

@@ -193,7 +193,7 @@

The rough outline of how the minimal example works should be easy to understand: