Skip to content
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

Refactor targets #89

Merged
merged 3 commits into from
Nov 6, 2018
Merged

Refactor targets #89

merged 3 commits into from
Nov 6, 2018

Conversation

adamralph
Copy link
Owner

Relates to #3.

@adamralph adamralph added this to the 1.0.0 milestone Nov 5, 2018
<MinVerOptions Include="--tag-prefix &quot;$(MinVerTagPrefix)&quot;" />
<MinVerOptions Include="--verbose" Condition="'$(MinVerVerbose)' == 'true'" />
</ItemGroup>
<Exec Command="dotnet &quot;$(MSBuildThisFileDirectory)../MinVer/MinVer.Cli.dll&quot; @(MinVerOptions->'%(Identity)', ' ')" ConsoleToMSBuild="true">
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bording do you have an opinion on this change? It's more lines, but it gets rid of MinVerVerboseOption and the 212 character options expression, which also had to have a placeholder for MinVerVerboseOption, and that had to include it's leading space separator, which always felt a bit ugly.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like it! Much cleaner, and it would be easier to add new options in the future that way.

@adamralph adamralph merged commit 2e228d2 into master Nov 6, 2018
@adamralph adamralph deleted the refactor-targets branch November 6, 2018 00:39
@adamralph
Copy link
Owner Author

Released in alpha 14.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants