9mm/justfile
dozens c7b2c98200 🗄️ big tidy up
- isolate core game logic and move it to src/game.fnl
- main.fnl should be just the ui now
- move all table funcs into lib/table
- move all (1) string funcs into lib/string
- move all game funcs into lib/game/
2024-06-20 09:17:06 -06:00

21 lines
487 B
Makefile

# list available recipes
default:
just --list --unsorted
# run tests
test:
#!/bin/zsh
for f in **/*.test.fnl; do fennel $f | faucet; done
# build expect scripts
expects:
for f in test/*.dat; do awk -f test/test.awk $f > ${f/dat/expect}; done
# make the project
project:
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'