2024-05-30 01:26:41 +00:00
|
|
|
# list available recipes
|
|
|
|
default:
|
|
|
|
just --list --unsorted
|
|
|
|
|
|
|
|
# run tests
|
|
|
|
test:
|
2024-06-20 15:17:06 +00:00
|
|
|
#!/bin/zsh
|
|
|
|
for f in **/*.test.fnl; do fennel $f | faucet; done
|
2024-06-07 23:27:11 +00:00
|
|
|
|
|
|
|
# build expect scripts
|
|
|
|
expects:
|
|
|
|
for f in test/*.dat; do awk -f test/test.awk $f > ${f/dat/expect}; done
|
2024-06-09 02:58:40 +00:00
|
|
|
|
|
|
|
# make the project
|
|
|
|
project:
|
2024-06-20 15:17:06 +00:00
|
|
|
awk '$0 ~ /^---$/ && times++ < 2 { a=!a;next; } a' doc/tilde30.t \
|
|
|
|
| recfmt -f doc/tilde30.t \
|
|
|
|
| awk '$0 ~ /^---$/ { times++;next } times > 1' \
|
|
|
|
| nroff -ms -Tascii \
|
|
|
|
| ssh tilde 'cat > .project'
|