Skip to content
This repository has been archived by the owner on Apr 2, 2020. It is now read-only.

Add "Exclude" attribute support to Compile tag #258

Merged
merged 2 commits into from Oct 12, 2017

Conversation

ming4883
Copy link
Contributor

According to the following documents:
https://docs.microsoft.com/en-us/visualstudio/msbuild/how-to-exclude-files-from-the-build
https://docs.microsoft.com/en-us/dotnet/core/tools/csproj

The Compile & Content tags did support glob patterns, and "exclude" is an essential complement to "include".
This is very useful for porting existing Unity modules / plugins to Protobuild (for example exclude those files inside the Editor folder while using globs).

According to the following documents:
https://docs.microsoft.com/en-us/visualstudio/msbuild/how-to-exclude-files-from-the-build
https://docs.microsoft.com/en-us/dotnet/core/tools/csproj

The Compile & Content tags did support glob patterns, and "exclude" is an essential complement to "include".
This is very useful for porting existing Unity modules / plugins to Protobuild (for example exclude those files inside the Editor folder while using globs).
@dnfclas
Copy link

dnfclas commented Oct 11, 2017

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

@hach-que hach-que self-assigned this Oct 12, 2017
@hach-que
Copy link
Member

Thanks for this, I'm testing these changes now.

@ming4883
Copy link
Contributor Author

Nice, thank you very much for your fast responds and hopes this feature will soon appear in stable releases.

@hach-que
Copy link
Member

Just waiting on the tests to pass on the build server, then I'll squash and merge this change in.

@hach-que
Copy link
Member

Don't worry about that build failure - that's me manually restarting the macOS build.

@hach-que
Copy link
Member

I'm going to go ahead and merge this, as the macOS agent build is stalling on the new build server and I'm not quite sure of the cause yet (though confident it's not this change).

Thanks for the contribution!

@hach-que hach-que merged commit 8c12ead into Protobuild:master Oct 12, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants