-
Notifications
You must be signed in to change notification settings - Fork 46
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
Add support for deps-new
#52
Comments
This sound good to me, @nikolap thoughts? |
Sounds great. Seems like a good option to migrate (simpler command, faster startup). |
@nikolap @yogthos: I have an initial version of the port here: https://github.com/rads/kit/tree/master/libs/deps-template Still needs some clean up, but it works! Here's how you can test it yourself:
Edit: Updated the instructions to only two steps now that |
The Now that As seen above, I've already got a prototype of this working on my branch. I'm planning to open a PR soon so we can start reviewing the code and talking about how this fits in to the existing kit-clj project. |
@nikolap @yogthos: I'm planning to start working on this again to hopefully get it across the finish line. Do you folks have any specific ideas of how this would fit in with the existing
In my WIP PR, I didn't really have to change the template files themselves to make things work with deps-new. It's mainly the build tooling and manifest files that are different. Therefore I think it would be reasonable to share the template files across both What do you think about this? |
Yeah that sounds pretty reasonable to me. |
@yogthos: It looks like In other words, it doesn't seem like it's possible to compose templates with Now that I've eliminated the duplication between the templates, I'm still working out bugs in the |
Yeah that sounds like the way to go since |
Just saw in your issue on deps-new that it's possible to support multiple files, but agree with Dmitri that it's cleaner to just have lein-template depend on deps-template for backwards compatibility. That way we don't duplicate the code |
Hey @rads, this seems like a great idea still, do you have a sense of what is still missing to get this working? Reading the comments here it looks like it was pretty close :) |
Overview
I'm working on a PR for
neil
(babashka/neil#51) which will make it possible to simplify the "Quick start" for Kit:Requirements
deps-new
template to thekit
repoPerformance
The
neil new
command is usingbabashka
to runorg.corfield.new/create
which removes the JVM startup time. I haven't ported thelein-template
todeps-new
so I can't do a direct comparison yet. That said, with the built-inapp
template, the difference is significant (3s down to 0.1s):The text was updated successfully, but these errors were encountered: