You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add create-basis/process example to tools.build docs #538
Per discussion on Slack about using clojure.tools.build to run tests that need a particular classpath, including the test runner itself, Alex said "you can use a combo of create-basis, java-command, and process to execute it".
It would be great if the tools.build guide had an example of doing this with Cognitect's test-runner to provide a canonical example of how to do this in a build script (where the build script is invoked as the only dependency via -T).
Activity
seancorfield commentedon Mar 27, 2026
This is well-documented on https://clojure-doc.org so I'm closing this output.
puredanger commentedon Mar 27, 2026
I would like to leave this open for consideration in the tools.build guide, thanks
seancorfield commentedon Mar 27, 2026
Fair enough. The relevant section on clojure-doc.org is https://clojure-doc.org/articles/cookbooks/cli_build_projects/#running-tasks-based-on-aliases -- feel free to lift any parts of them for inclusion in the
tools.buildguide.