1# A build writes a repo's pages, the index, and the search indexes.2. "$(dirname "$0")/../lib.sh"3user dami4repo dami/greet "say hello"5clone dami dami/greet "$T/w/dami"6printf '# greet\n\nHello.\n' >"$T/w/dami/README.md"7at "$T/w/dami" commit "first" greet.sh8push_as dami "$T/w/dami" origin main9build10exists "$FORGE_WWW/index.html"11has "$FORGE_WWW/dami/greet/index.html" 'Hello\.'12exists "$FORGE_WWW/dami/greet/blob/main/greet.sh/index.html"13has "$FORGE_WWW/repos.json" '"dami/greet","say hello"'14exists "$FORGE_WWW/dami/greet/search.json"