Add justfile task runner
Recipes: check (lint+test+tape-test), lint, test, tape-test, record. `just` with no args lists all recipes. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
b72a95f4ed
commit
4413f2229d
2 changed files with 34 additions and 0 deletions
25
justfile
Normal file
25
justfile
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
# systab task runner — `just` to list all recipes
|
||||
|
||||
# List available recipes
|
||||
default:
|
||||
@just --list
|
||||
|
||||
# Run ShellCheck linter
|
||||
lint:
|
||||
shellcheck systab
|
||||
|
||||
# Run unit tests
|
||||
test:
|
||||
./test.sh
|
||||
|
||||
# Run demo tape command tests (no VHS required)
|
||||
tape-test:
|
||||
./demo/test-tapes.sh
|
||||
|
||||
# Run all checks: lint + unit tests + tape tests
|
||||
check: lint test tape-test
|
||||
|
||||
# Record demo GIFs with VHS
|
||||
record:
|
||||
vhs demo/quickstart.tape
|
||||
vhs demo/all-features.tape
|
||||
Loading…
Add table
Add a link
Reference in a new issue