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
Added hook-eval-in-project, get-classpath, and apply-task #4
Conversation
Would it be possible to get feedback or a merge on this? I have a project that depends on these changes that I'd like to distribute, so I may otherwise have to fork and release so that I can release my project. Thank you! |
@dgrnbrg: |
One example is here: https://github.com/dgrnbrg/lein-guzheng/blob/master/src/leiningen/guzheng.clj#L97 I needed to have the opportunity to inject some code into every The other place I use this is to support lein2's Does that clarify my usage scenarios? |
Yes, thanks - that makes sense to me. I'm fine with merging this if @sattvik is. Assuming he gives it a thumbs up, would you be willing to add these functions to the README and add a test for |
On Thu Aug 23 11:01 2012, Tobias Crawley wrote:
I think it's fine to include it. If you could please add the |
I've added the tests and updated the README after a long hiatus. Can this be merged now? Thanks! |
I'll take a look at it this weekend. So long as I don't run into any issues, my goal is to create a new release by Monday. |
Cool -- I haven't changed anything functionally since last month; I just On Wed, Sep 26, 2012 at 5:00 PM, Daniel Solano Gómez <
|
Since I've pushed changes that may affect these commits, I'll handle merging them in. |
Could you release a new version of leinjacker? I'd like to incorporate some Thanks! On Thu, Sep 27, 2012 at 10:21 AM, Tobias Crawley
|
@dgrnbrg - I just pushed v0.3.0 to clojars: https://clojars.org/leinjacker |
Thank you! On Mon, Oct 1, 2012 at 9:49 AM, Tobias Crawley notifications@github.comwrote:
|
hook-eval-in-project is a powerful tool to allow for functionality like lein2's :injections to be made available in lein1 w/ a bit more work. Also, it allows for plugins to invoke the JVM using entirely different code, for instance, to integrate w/ existing proprietary JVM launchers. One example of this is MATLAB, which allows for user code to be put on the classpath.
apply-task make it easy for one task to chain/delegate to another as a subtask.
get-classpath is useful when changing the JVM invocation, so that the new JVM can receive the classpath from all the right places.