File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -283,8 +283,9 @@ To use this in your project:
283283 lake exe verso-html .lake/build/literate html
284284 ```
285285
286- You can preview the resulting files by running `lake exe verso-serve html`
287- and pointing a web browser to http://localhost:8000/
286+ You can preview the resulting files by running
287+ `lake exe verso-serve html` and pointing a web browser to
288+ http://localhost:8000/
288289
289290In this output, Verso docstrings and moduledocs are rendered. Setting
290291`doc.verso` to `true` enables these in source files.
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22set -euo pipefail
33
4- # Exercise the `serve` development server against a real loopback socket.
4+ # Exercise the `verso- serve` development server against a real loopback socket.
55# Builds the executable, serves a small fixture directory, and checks status
66# codes and the cache, ETag, and Range headers with curl.
77
@@ -24,18 +24,18 @@ fail() {
2424 exit 1
2525}
2626
27- echo " Building serve..."
28- lake build serve
27+ echo " Building verso- serve..."
28+ lake build verso- serve
2929
3030printf ' <h1>home</h1>' > " $FIXTURE /index.html"
3131printf ' body{color:red}' > " $FIXTURE /style.css"
3232printf ' 0123456789abcdef' > " $FIXTURE /data.txt"
3333mkdir -p " $FIXTURE /sub"
3434printf ' child' > " $FIXTURE /sub/page.html"
3535
36- echo " Starting serve (scanning for a free port)..."
36+ echo " Starting verso- serve (scanning for a free port)..."
3737# No fixed port: let the server take the first free one and report it in its banner.
38- ./.lake/build/bin/serve --quiet " $FIXTURE " > " $BANNER " 2> /dev/null &
38+ ./.lake/build/bin/verso- serve --quiet " $FIXTURE " > " $BANNER " 2> /dev/null &
3939SERVER_PID=$!
4040
4141# Read the chosen port from the startup banner, waiting up to ~10 seconds for it.
You can’t perform that action at this time.
0 commit comments