Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2 plugin #23

Merged
merged 2 commits into from
Jul 4, 2023
Merged

v2 plugin #23

merged 2 commits into from
Jul 4, 2023

Conversation

vemv
Copy link
Member

@vemv vemv commented Jul 2, 2023

Introduces a new approach for the Lein plugin: now all what Enrich does is building a bespoke java command, using the Lein project map (including any modifications from profiles, other plugins, etc) as the basis.

This allows us to have a very precise control of classpath ordering, which Lein does not provide otherwise.

It's a similar approach to what we do for tools.deps. Except that we also launch an nrepl server, honoring Lein options. This relpaces lein repl :headless.

As a very nice side-effect, the resulting java invocation will involve just one JVM process, as opposed to the two JVMs that Lein traditionally involves.

We still need a JVM for calculating the java command. However that is amenable to caching - it's exactly what the official tools.deps CLI does. Could be done eventually.

n.b. this is alpha software atm - I'll release this only for private testing.

@vemv vemv force-pushed the plugin-v2 branch 5 times, most recently from ed03d57 to e66185b Compare July 4, 2023 19:32
@vemv vemv marked this pull request as ready for review July 4, 2023 19:57
@vemv vemv merged commit 33429ec into master Jul 4, 2023
@vemv vemv deleted the plugin-v2 branch July 4, 2023 20:06
vemv added a commit to clojure-emacs/cider that referenced this pull request Jul 5, 2023
vemv added a commit to clojure-emacs/cider that referenced this pull request Aug 12, 2023
vemv added a commit to clojure-emacs/cider that referenced this pull request Aug 19, 2023
vemv added a commit to zenmacs/cider that referenced this pull request Aug 22, 2023
vemv added a commit to clojure-emacs/cider that referenced this pull request Aug 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant