Repository navigation
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
--hardflag 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
--hardis used.Take this
app.configfor example:This project only needs
Castle.CoreandNewtonsoft.Jsonbinding redirectRunning
paket install, this is the result:Note that
Ploeh.AutoFixtureredirect was not removed because it was not marked.xunit.extensionsredirect was marked though, hence it was removed.On the other hand, running
paket install --hardthis is the resulting file:Note that regardless the redirect was marked, it was removed, leaving only the required redirects.