-
Notifications
You must be signed in to change notification settings - Fork 525
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
Cleans binding redirects #1235
Cleans binding redirects #1235
Conversation
/cc @isaacabraham |
What's the rationale for using
|
Was just going to ask the same question - surely better to use an attribute or element? Also - whilst you're at this, can you see if it's possible to properly format the BR area of XML as well? If it's more than 60 seconds work, leave it and I'll raise an issue for it. |
I checked the I just tested it and it does work. I'm gonna change it and update the PR. @isaacabraham I'd rather do it in another PR |
That's cool. Cheers. |
82b8838
to
3a79c92
Compare
I've updated the PR to create
|
Awesome. Thanks |
@mrinaldi thanks for that! Saved me a lot of work :D |
❤️ |
This PR closes #1218.
It removes all binding redirects when the
--hard
flag is used.It also marks all binding redirects with a
<!--Paket-->
comment.This was the best way I've found to mark the paket's redirects.
Since it does that, it also removes all binding redirects marked with the comment, regardless the
--hard
is used.Take this
app.config
for example:This project only needs
Castle.Core
andNewtonsoft.Json
binding redirectRunning
paket install
, this is the result:Note that
Ploeh.AutoFixture
redirect was not removed because it was not marked.xunit.extensions
redirect was marked though, hence it was removed.On the other hand, running
paket install --hard
this is the resulting file:Note that regardless the redirect was marked, it was removed, leaving only the required redirects.