From c7b2c982004e350f5e3032321baadfc9021b6bad Mon Sep 17 00:00:00 2001 From: dozens Date: Thu, 20 Jun 2024 09:17:06 -0600 Subject: 🗄️ 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/ --- justfile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'justfile') diff --git a/justfile b/justfile index 4827cef..825aa93 100644 --- a/justfile +++ b/justfile @@ -4,7 +4,8 @@ default: # run tests test: - for f in lib/*.test.fnl; do fennel $f | faucet; done + #!/bin/zsh + for f in **/*.test.fnl; do fennel $f | faucet; done # build expect scripts expects: @@ -12,4 +13,8 @@ expects: # 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 + 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' -- cgit 1.4.1-2-gfad0