-
Notifications
You must be signed in to change notification settings - Fork 53
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
Depend on only vty-crossplatform
#1623
Comments
Don't forget to remove |
@byorgey @chhackett here's a summary of what I have so far in some local uncommitted changes. Let me know what you think:
Once the various packages have been updated, this ought to allow users to configure the color mode (provided each backend package respects the setting!) and should allow you to get away from a dependency on a specific backend package. |
@jtdaugherty Sounds good to me. |
This is now released in |
It turns out that |
|
@jtdaugherty - i finished updating vty-windows. You can fix the Testing module now. And for the swarm guys, you should be able to replace vty-windows and vty-unix dependencies with just vty-crossplatform now, just using the default mkVty function. |
I've set a |
I don't see a |
Whoops, forgot |
Closes #1623. Note that we still have to list both `vty-unix` and `vty-windows` in `stack.yaml` but that's OK; it just means they are both made available as extra dependencies, but only whichever is needed will actually be installed. In the codebase itself, we now get to avoid CPP on imports, and the code is quite a bit simpler.
Closes #1623. Note that we still have to list both `vty-unix` and `vty-windows` in `stack.yaml` but that's OK; it just means they are both made available as extra dependencies, but only whichever is needed will actually be installed. In the codebase itself, we now get to avoid CPP on imports, and the code is quite a bit simpler.
Originally posted by @byorgey in #1617 (comment)
See the rest of the discussion on #1617 for more context. Currently, we conditionally depend on either
vty-unix
orvty-windows
; ideally, if thevty
packages are updated in an appropriate way, we will be able to depend only onvty-crossplatform
.The text was updated successfully, but these errors were encountered: