diff --git a/justfile b/justfile index 5516fd4..e5a866f 100644 --- a/justfile +++ b/justfile @@ -11,14 +11,11 @@ restart: eval: sd "$" "\n" | sd "\n\n" "\n" | kitten @ send-text -m "title:hx_repl:ludus" --stdin -# send what's selected to a buffer, and then evaluate what's in the buffer -buffer: - sd "$" "\n" | sd "\n\n" "\n" > .repl-buffer.janet - kitten @ send-text -m "title:hx_repl:ludus" "(import ./.repl-buffer :prefix \"\")" - +# get documentation for a symbol in janet/clojure doc: sd "$" "\n" | sd "\n\n" "\n" | xargs -I _ echo "(doc " _ ")" | kitten @ send-text -m "title:hx_repl:ludus" --stdin +# publish to npm (did you build things first?) publish: - git commit -am "publishing!" - + npm version patch + npm publish