is there a nice way to invoke '-X' based tooling from a build.clj script?
invoke-tool is probably the closest thing, if -T is sufficient?
there is no extra help for this (yet) but you can build the equivalent proc call
I guess one of the questions to consider is whether you should just be including the deps and running the function in process instead
I am not sure, I just have some docs generating using -X:codox and I am thinking I want -T:build ci to invoke that
I guess the main Q is: ... hah, yeah, what Alex said.
you can use the clojure.java.basis api to grab the basis ... :aliases ... the alias to grab that config
it would be interesting to add a build task that made some of that easier (and worked in/out of proc)
https://clojure.atlassian.net/issues/TBUILD-6 is an old ticket (sean)
I wrote a -X task invoker at work -- essentially TBUILD-6 -- but it required some hacky stuff to get the basis at the time, and we switched back to -M invocation at some point.
some of the details there have changed since then wrt the basis and exec args