Fork me on GitHub
#tools-deps
<
2021-04-13
>
golanweiss11:04:49

I’m moving from a lein project to tools deps.edn and unfortunately I had some “injections” in my project.clj Is there a way to “inject” (i.e. require) some namespace when using the https://github.com/cognitect-labs/test-runner?

borkdude12:04:41

@golan1w you can use -e "(require 'foo.bar)" -m "test-runner.main"

🙏 1
golanweiss12:04:36

thanks, The problem is that when using multiple aliases only the last main-opts in is kept. So I don’t see how can I add this to my deps.edn to be permanent. For example a good place for such thing would have been under alias called :my-lib-test

borkdude12:04:39

create a new alias with other main opts?