Skip to content

Commit a5dcaf3

Browse files
committed
prettier fix, serve -> verso-serve in tests
1 parent 66016b4 commit a5dcaf3

2 files changed

Lines changed: 8 additions & 7 deletions

File tree

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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

289290
In this output, Verso docstrings and moduledocs are rendered. Setting
290291
`doc.verso` to `true` enables these in source files.

src/tests/run_serve_test.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22
set -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

3030
printf '<h1>home</h1>' > "$FIXTURE/index.html"
3131
printf 'body{color:red}' > "$FIXTURE/style.css"
3232
printf '0123456789abcdef' > "$FIXTURE/data.txt"
3333
mkdir -p "$FIXTURE/sub"
3434
printf '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 &
3939
SERVER_PID=$!
4040

4141
# Read the chosen port from the startup banner, waiting up to ~10 seconds for it.

0 commit comments

Comments
 (0)