Closed jacobobryant closed 3 years ago
In the mean time I ended up just changing clojure
calls to clj
. At least that way you get a somewhat helpful error message (about rlwrap
not existing).
I've decided to just add rlwrap
to the Requirements section.
In the project setup script and the task file, if you run
clj
, then it'll fail if rlwrap isn't present. If you runclojure
, it'll fail if your clojure binary doesn't have cli tools (in what situations is this the case?). We should do this: ifclj
andrlwrap
are on the path, useclj
. Ifclj
is on the path butrlwrap
isn't, check if theclojure
installation has cli tools (is there a good way to do this?). If yes, runclojure
. if no, print an error message.