Fork me on GitHub

Is the binstub necessary for deps.edn projects, or simply just a convenience? For my deps.edn projects I defined a :kaocha alias and successfully call the runner using clj -A:kaocha In ~/.clojure/deps.edn I have the following

  {:extra-deps {lambdaisland/kaocha {:mvn/version "0.0-554"}}
   :main-opts  ["-m" "kaocha.runner"]}
The tests run on a few simple projects I have that use the clojure.test unit tests. As this is the first time using kaocha, just wanted to check I wasn't missing something. Thank you.


Sorry, I dont understand this reply. The .clojure/deps.edn configuration file is being used in all the deps.edn projects I have created so far. I just havent seen the advantage of using a binstub, as recommended in the project file.


The binstub is not necessary but it is a convention. See the recent discussion in #tools-deps for some of the rationale.

👍 4

Ah yes, after reading I have a clearer idea of what the binstub could be used for. I will also look at the tools-deps discussions. Thanks.