2024-01-08 03:58:03 +00:00
|
|
|
# build clojurescript release
|
2023-12-10 01:30:43 +00:00
|
|
|
build:
|
2023-12-24 22:08:02 +00:00
|
|
|
shadow-cljs release module
|
2023-12-31 23:37:09 +00:00
|
|
|
|
2024-01-08 03:58:03 +00:00
|
|
|
# open a janet repl in a different os window
|
2023-12-31 23:37:09 +00:00
|
|
|
repl:
|
2024-01-19 21:50:01 +00:00
|
|
|
kitten @ launch --type=os-window --allow-remote-control --cwd=current --title=hx_repl:ludus
|
|
|
|
kitten @ send-text -m "title:hx_repl:ludus" "janet -s\n"
|
2024-01-08 01:09:01 +00:00
|
|
|
|
2024-01-19 21:50:01 +00:00
|
|
|
restart:
|
|
|
|
kitten @ send-text -m "title:hx_repl:ludus" "\04"
|
|
|
|
kitten @ send-text -m "title:hx_repl:ludus" "janet -s\n"
|
|
|
|
|
2024-01-08 03:58:03 +00:00
|
|
|
# send what's selected to the repl and evaluate it
|
2024-01-08 01:09:01 +00:00
|
|
|
eval:
|
2024-01-08 03:58:03 +00:00
|
|
|
sd "$" "\n" | sd "\n\n" "\n" | kitten @ send-text -m "title:hx_repl:ludus" --stdin
|
2024-01-08 01:09:01 +00:00
|
|
|
|
2024-01-08 03:58:03 +00:00
|
|
|
# send what's selected to a buffer, and then evaluate what's in the buffer
|
2024-01-08 01:09:01 +00:00
|
|
|
buffer:
|
2024-01-19 21:50:01 +00:00
|
|
|
sd "$" "\n" | sd "\n\n" "\n" > .repl-buffer.janet
|
|
|
|
kitten @ send-text -m "title:hx_repl:ludus" "(import ./.repl-buffer :prefix \"\")"
|
2023-12-31 23:37:09 +00:00
|
|
|
|