Fork me on GitHub
#clojure-dev
<
2018-03-19
>
seancorfield01:03:06

@alexmiller https://dev.clojure.org/jira/browse/TCLI-87 -- Not sure which JIRA to direct him to. I initially suggested TDEPS but it's more an issue with the clojure script... Is that under INST or CLJ?

seancorfield01:03:29

(and, now he's posted a comment, it seems his issue is that if you run clj with an alias that pulls in :main-opts, then change those opts and run clj again, it uses the old :main-opts instead of regenerating the cached options?)

alexmiller01:03:01

I reopened and moved to tools.deps

alexmiller01:03:15

The full alias set should be included in the cache key so what’s being described shouldn’t be happening but I’ll take a look

seancorfield02:03:33

Ah, I didn't know you could move a ticket like that. Thanks.

seancorfield02:03:25

FWIW, I can repro it locally. Ran clj -A:test in a project with that deps.edn, then commented out the :main-opts line and clj -A:test still invokes the test runner instead of just starting a REPL.

seancorfield02:03:46

Adding -Sforce doesn't solve the problem. You have to remove the cached .main file from .cpcache.

seancorfield02:03:00

Hahaha... you couldn't let it be, eh? 🙂

alexmiller02:03:07

easy fix once I saw it :)

alexmiller02:03:52

btw, there is a new tools.deps out with some minor bug fixes (not this one of course)

alexmiller02:03:39

holding off on a clj update for the moment as I’m hoping to get the first rev of Windows scripts locked down

seancorfield02:03:32

I look forward to trying the Windows scripts.

alexmiller03:03:59

I look forward to having you trying them :)