-
-
Notifications
You must be signed in to change notification settings - Fork 59
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 dotnet-minver #100
add dotnet-minver #100
Conversation
Why make this be something that has to be invoked via |
7ed5064
to
a76dfcd
Compare
@bording I do indeed need some schooling wrt to dotnet tools. BTW - the tool package was requested by @thefringeninja. Are you saying that it can be just called |
@adamralph Yes, you can install a global tool, and then you'll just magically have a |
The tool name will default to the project name, but you can set the Based on that, a rethink of all the project names might be in order. I've been thinking that might generally be a good idea, because things are a bit mixed up right now. |
Interesting. What's the general guidance on this? I've seen plenty of NuGet packages named
I'm all ears. 👂 😉 I guess if this does become just |
a76dfcd
to
c5c8ece
Compare
A lot of those packages are for the older, project-scoped cli tool references. From what I've seen, the guideance at this point is to only name your tool Since MinVer is more general purpose, having the tool be |
Right now, the MinVer.Tasks project is the actual commandline tool invoked by MSBuild, and it has a project reference to MinVer. However, MinVer is the project that has the MSBuild targets, requires the publish output from MinVer.Tasks, and builds the package, so it's actually a bit of a circular dependency. The MSBuild stuff is also split between two projects. Instead, I think we should turn MinVer into something like MinVer.Core, and it just has the actual versioning logic in it. Then we need an additional project for each of the "shipping vehicles" we want, in this case, something running inside of MSBuild, and the commandline tool being proposed by this PR. At the moment, the MSBuild project would also have a dependency on the commandline tool, but we should still be able to make that work. In the future, the MSBuild project should probably just become an MSBuild task, and then that dependency is removed. |
Renamed to |
Released in alpha 15. |
Closes #94