Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fail a CI build if projects not alphabetical #3

Closed
jchannon opened this issue Dec 20, 2019 · 4 comments
Closed

Fail a CI build if projects not alphabetical #3

jchannon opened this issue Dec 20, 2019 · 4 comments
Labels
enhancement New feature or request

Comments

@jchannon
Copy link
Contributor

I was wondering if the tool could offer an option to exit with an error code if projects are not alphabetical.

My thoughts being if someone on my team change a csproj and its not alphabetical the CI server can fail the build

@mysticmind mysticmind added the enhancement New feature or request label Dec 23, 2019
@mysticmind
Copy link
Owner

Sure, will look at adding it.

@mysticmind
Copy link
Owner

Feature added and will be available in v0.2.0

@mysticmind
Copy link
Owner

Apart from returning a non-zero return code if one or more projects have non-sorted package references, a nice inspection report is printed to console as below:
image

@jchannon
Copy link
Contributor Author

jchannon commented Jan 13, 2020 via email

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants