Skip to content

Improve the language discovery heuristics of AssemblyInfoBuilder #915

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

Conversation

asbjornu
Copy link
Member

@asbjornu asbjornu commented Jun 27, 2016

This PR improves how the AssemblyInfoBuilder discovers what language is being compiled by not looking for an AssemblyInfo.* file, but instead finding the first *.vb or *.cs file and deducing the langauge from there.

Also adds a few more guards and tests for AssemblyInfoBuilder to make it more robust and easier to understand if it breaks.

Fixes #885.

@asbjornu asbjornu force-pushed the feature/assembly-info-builder-language-discovery branch from c447240 to ef3bd92 Compare June 29, 2016 08:01
@pascalberger
Copy link
Member

@asbjornu LGTM. If you rebase the branch I can merge this.

Improve how the AssemblyInfoBuilder discovers what language is being compiled
by not looking for an `AssemblyInfo.*` file, but instead finding the first
*.vb og *.cs file and deducing the langauge from there.

Also adds a few more guards and tests for AssemblyInfoBuilder to make it more
robust and easier to understand if it breaks.
@asbjornu asbjornu force-pushed the feature/assembly-info-builder-language-discovery branch from ef3bd92 to 45590b5 Compare July 4, 2016 10:00
@asbjornu
Copy link
Member Author

asbjornu commented Jul 4, 2016

@pascalberger Thanks. Rebased and all green. 😄

@pascalberger pascalberger merged commit 9643410 into GitTools:master Jul 4, 2016
@asbjornu asbjornu deleted the feature/assembly-info-builder-language-discovery branch July 4, 2016 10:20
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