-
Notifications
You must be signed in to change notification settings - Fork 163
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
feat: enable integrations to run externally #1290
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1290 +/- ##
============================================
- Coverage 59.35% 58.81% -0.54%
- Complexity 1176 1179 +3
============================================
Files 98 99 +1
Lines 6052 6102 +50
Branches 1005 1014 +9
============================================
- Hits 3592 3589 -3
- Misses 1951 2007 +56
+ Partials 509 506 -3
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Btw @maxandersen , I don't know if the new code (since the last big refactor) also fixes this issue: #1143 , but the issue isn't very clear so I'm not sure really how to test it. Perhaps you can take a look? Or come up with a better test/description? |
Nice! Is it so it always runs externally or you think we can try be smart only do it when needed ? |
As the commit message explains, we're smart about it 🙂
|
this is brilliant fix - opens up for also run it when/if we native compile jbang! about #1143 is not solved nor related to this afaics. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please rebase it and we can happily merge it!
63322d3
to
a55169c
Compare
Rebased. |
Is a pre-filtered version of `getLines()` that only returns Lines that start with `//`.
The code that runs a single integration is now sepearate and its input and ouput have been turned into serializable objects. This prepares for the next step where those integrations can be run externally.
Checks if the requested Java version is the same as the one JBang is using and if not it will start a sub process to handle the integration with the correct JDK. Fixes jbangdev#1084
Build error? |
a55169c
to
3b9af91
Compare
Sorry, forgot to push :-) |
Fixes #1084