jacobobryant / biff

A Clojure web framework for solo developers.
https://biffweb.com
MIT License
838 stars 40 forks source link

fix clj/clojure issues #73

Closed jacobobryant closed 3 years ago

jacobobryant commented 3 years ago

In the project setup script and the task file, if you run clj, then it'll fail if rlwrap isn't present. If you run clojure, it'll fail if your clojure binary doesn't have cli tools (in what situations is this the case?). We should do this: if clj and rlwrap are on the path, use clj. If clj is on the path but rlwrap isn't, check if the clojure installation has cli tools (is there a good way to do this?). If yes, run clojure. if no, print an error message.

jacobobryant commented 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).

jacobobryant commented 3 years ago

I've decided to just add rlwrap to the Requirements section.