From 71999dc8396a4ed3a1539716e5722e117770ee04 Mon Sep 17 00:00:00 2001 From: lihaoyi Date: Sat, 18 May 2024 06:26:16 +0000 Subject: [PATCH] deploy: 358043c835ba3dcb3ae73cf082ec62b96231f57a --- index.html | 54 +++++++++++++++++++++++++++--------------------------- 1 file changed, 27 insertions(+), 27 deletions(-) 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: