Fork me on GitHub
#tools-deps
<
2021-03-20
>
borkdude21:03:59

In the future, will we be able to invoke -A:example for getting a REPL with extra deps from :example, even though it contains :main-opts as well?

{:aliases {:example {;; -A:example (for REPL invocation with extra deps)
                     :extra-deps {medley/medley {:mvn/version "1.3.0"}}
                     ;; -X:example
                     :exec-fn clojure.core/prn
                     :exec-args {:my 1}
                     ;; -M:example
                     :main-opts [-e "(+ 1 2 3)"]}}}

seancorfield22:03:31

That's what I've understood Alex to say about it, yes.

seancorfield22:03:18

But I also got the impression there's likely to be more to it than just "not executing main opts".