Should something like that be added to exec-fn too? Or should this code be refactored so that the -main entry point calls the exec-fn entry point after parsing CLI opts into the tools-deps -X map format?
exec-fn is community contributed and not officially supported , we recommend sticking to bin/kaocha as documented. However PRs to improve it are welcome.
When I run autogenerated
fdef
spec tests with theexec-fn
entry point, I get this exception on failures:This appears to be caused by
exec-fn
not having something similar to this in-main*
: https://github.com/lambdaisland/kaocha/blob/15e553ddba5497a91099f0edda8433d66ef1094f/src/kaocha/runner.clj#L148Should something like that be added to
exec-fn
too? Or should this code be refactored so that the-main
entry point calls theexec-fn
entry point after parsing CLI opts into the tools-deps-X
map format?