ludus/justfile
2024-01-07 20:09:01 -05:00

18 lines
467 B
Makefile

# start a repl
build:
shadow-cljs release module
repl:
kitten @ launch --type=os-window --allow-remote-control --cwd=current --title=hx_repl:ludus janet -s
repeater:
kitten @ launch --type=os-window --allow-remote-control --cwd=current --title=hx_repl:ludus bat
eval:
sd "$" "\n" | sd "(\n)+" "\n" | kitten @ send-text -m "title:hx_repl:ludus" --stdin
buffer:
sd "$" "\n" > .repl-buffer
kitten @ send-text -m "title:hx_repl:ludus" --from-file .repl-buffer