Hey all, I wrote my first two boot tasks today.
Any feedback/suggestions about how to make them better greatly appreciated!
The first is
boot-cider which is basically just a convenient way of setting up a cider-ready repl. It tries to automatically detect which versions of cider-nrepl and clj-refactor packages to use (so that the clojure package versions match the elisp package versions).
boot cider nrepl
cider-connect from emacs with
clj-refactor packages installed gives a nice cider-enabled repl with the default nrepl middleware enabled.
The second is
boot-expect which runs expectations tests inside a pod. By default it will find all expectations in any of the project's namespaces, so you'll probably want to add the "test" directory like this:
boot -s "test" expect
You can also specify individual namespaces and also filter namespaces. I borrowed heavily from boot-test (and learned a ton from that code along the way).
Running like this so that it automatically re-runs tests works pretty well:
boot watch expect
But after a few minutes it throws out of memory errors so if anyone has any ideas about how to fix that, that'd be great.