Fork me on GitHub
#cursive
<
2020-01-27
>
simongray15:01:48

What actually happens when I click the refresh button on a ClojureScript Deps project? I’m trying to figure out what Clojure CLI command Cursive is executing.

kenny16:01:03

I don't know what is actually run but it's something like clojure -A<aliases checked> -Spath. That gets cached for each module.

👍 1
cfleming23:01:03

Cursive doesn’t actually run a deps command for that, it uses the tools.deps.alpha library directly.

👍 1
simongray10:01:17

@cfleming But I guess the code that is ultimately run is the same? BTW thanks for making the awesome tool that is Cursive. Still haven’t found anything better for writing Clojure code.

cfleming21:01:32

Yes, clj is essentially a script that invokes tools.deps.alpha, so the underlying code that’s called is the same.

simongray15:01:25

I’m trying to learn about deps.edn at the moment, only used to leiningen.

tony.kay23:01:00

Any chance you’d be willing to add support to the macros in meander? https://github.com/noprompt/meander It uses a lot of ?x variables…I can declare them to get rid of the syntax warnings, but perhaps that is easy to support @cfleming?

cfleming23:01:25

Sure, could you file an issue for that?

tony.kay23:01:37

will do, thanks!