-
Notifications
You must be signed in to change notification settings - Fork 177
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 a simple nrepl-server task in cider.tasks #532
Conversation
Codecov Report
@@ Coverage Diff @@
## master #532 +/- ##
==========================================
- Coverage 72.95% 72.48% -0.47%
==========================================
Files 36 36
Lines 2281 2297 +16
Branches 134 134
==========================================
+ Hits 1664 1665 +1
- Misses 483 498 +15
Partials 134 134
Continue to review full report at Codecov.
|
That looks simple enough! |
If I understand correctly - if this is what we want for If
Problem is Another approach would be to always call
And detect the EDIT: I like the latter better but it also means the we need to replicate the options we are using / are commonly used in reply - server. In particular the two above are:
Which consequently means we need to modify this. Writing down this things here for future reference. |
CIDER won't be able to work with both versions of nREPL anyways, so there's no need to complicate this. I'm ok with the second option. |
It forwards to cider.nrepl.main/init passing options -b|--bind and -p|--port.
Ok so the task accepts
The |
I also made the whole thing a bit more robust - we should probably merge nrepl/nrepl#34 before this just to make sure things are ok. |
The error in the tests is unrelated to the change. It is a zip error. |
Nice! Now we just need the same time for lein and then we can update the the cider-jack-in commands and finally switch to our new nREPL. |
First step towards the new cider nrepl integration.
Before submitting a PR make sure the following things have been done: