Make Targets¶
Every
maketarget and what it does, read from the##comments in theMakefile(the same textmake helpprints).
| Target | What it does |
|---|---|
make setup |
Make encounters executable and print how to start |
make doctor |
Check this machine for every surface: [ OK ]/[WARN]/[CRIT] (bin/bashcrawl doctor) |
make venv |
Create .venv and install web-build + test dependencies |
make web-install |
Install the web app's toolchain (npm, always-latest ranges, no lockfile) |
make web-build |
Regenerate the engine's data bundles, motion clips and vendored core (python only) |
make web-bundle |
web-build, then compile the React app into web/dist with /version and /healthz (node >= 22.22) |
make web-dev |
Vite dev server with hot reload at http://127.0.0.1:5173 |
make web-preview |
Serve the production build at http://127.0.0.1:4173 |
make web-test |
Validate the bundle, then lint, test and build the React app (with /version and /healthz) |
make tty-demo |
Play bashcrawl in this terminal (JS emulator on node; ARGS="--no-hud" for the classic stream) |
make telnet-demo |
Serve bashcrawl at telnet://127.0.0.1:2323 (ARGS="--raw" for nc) |
make telnet-hub |
Serve bashcrawl as a shared hub (who/say/shout/top) at telnet://127.0.0.1:2323 |
make agentwatch |
AI-agent task dashboard (ARGS="--data-dir logs/sessions" for real playtest logs) |
make validate-contracts |
Validate shared content contracts against the filesystem (and docs/generated/ freshness) |
make generate-contract-docs |
Rewrite docs/generated/ from the registries, the Makefile and the launcher |
make test |
Run unit + integration tests |
make test-unit |
Run unit tests only |
make test-integration |
Run integration tests only |
make test-js |
Run the TermForge framework tests (node --test, zero deps) |
make motion |
Preview an ASCII Motion file in this terminal (CLIP=motion/clips/warp.asciimtn; ARGS="--loop") |
make motion-info |
Summarize every ASCII Motion file (size, frames, duration, warnings) |
make ux-review |
Score the terminal stage: log art, stage hold, wipes, overlap |
make test-mcp |
Run the playtest-harness smoke tests in a local .venv |
make playtest |
Blank-slate playtest: Claude Code (OAuth) plays via MCP, then score |
make playtest-grok |
Grok plays the sandboxed dungeon (OpenCode xAI OAuth, else XAI_API_KEY) |
make agent-sandbox |
Clean sandbox for an agent (ARGS="--json|--pty|--blind|--full") |
make lint |
Run all linters (shellcheck, yamllint, markdownlint, ruff) |
make lint-shell |
Run ShellCheck on all shell scripts |
make lint-js |
Syntax-check every tracked JS file with node --check |
make clean |
Reset game state to defaults (re-hide unlocked rooms, clear flags) |
make clean-all |
Reset game state and remove generated logs |
make help |
Show available targets |