summary refs log tree commit diff
path: root/justfile
diff options
context:
space:
mode:
authordozens2024-06-20 09:17:06 -0600
committerdozens2024-06-20 09:17:06 -0600
commitc7b2c982004e350f5e3032321baadfc9021b6bad (patch)
tree3f8883c94bed5a1f847cf60cb11207ca53946c67 /justfile
parentce09973e7cacccdc779f91b8e6e48a520b9f9f4d (diff)
🗄️ 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/
Diffstat (limited to 'justfile')
-rw-r--r--justfile9
1 files changed, 7 insertions, 2 deletions
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'