-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Add question flag to "question" the build if it is incremental #8012
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
Merged
Merged
Changes from 16 commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
cbefe87
Add Question switch to stop the build when targets are not incremental.
yuehuang010 cde2e06
Add question property to tasks.
yuehuang010 97ef729
Add tests
yuehuang010 202098c
Clean up IIncrementalTask interface.
yuehuang010 e687090
Add additional tasks.
yuehuang010 96abc8a
Test and Question on this repro.
yuehuang010 12727c1
fix build
yuehuang010 878c8ef
Fix question in -m. Fix BindingRedirect to target incremental.
yuehuang010 f9a3730
Fix tests for Linux.
yuehuang010 3cdbf95
WIP
yuehuang010 bf65201
Fix feedbacks
yuehuang010 4ac5d1e
.
yuehuang010 36bf99d
Revert condition.
yuehuang010 5ec1a34
Merge branch 'main' of https://github.com/dotnet/msbuild
yuehuang010 2e0caf9
fix feedback.
yuehuang010 f172c47
touch to rerun.
yuehuang010 c40dce0
Merge branch 'main' of https://github.com/dotnet/msbuild
yuehuang010 d616c8f
Fix merge.
yuehuang010 bc79ec1
Fix merge pt2
yuehuang010 2eaf929
Merge branch 'main' into main
yuehuang010 c2268cc
Fix merge p3
yuehuang010 6ddf7a3
Fix fileState when it couldn't resolve some files.
yuehuang010 9d9046a
Merge branch 'main' of https://github.com/yuehuang010/msbuild
yuehuang010 3375f4e
Merge branch 'main' of https://github.com/dotnet/msbuild
yuehuang010 8edabee
Fix merge
yuehuang010 4c95b88
Address feedbacks
yuehuang010 fccbd33
Fix test.
yuehuang010 787d39f
Clean up.
yuehuang010 412817c
Merge branch 'main' of https://github.com/dotnet/msbuild
yuehuang010 ac1bca4
Merge branch 'main' of https://github.com/dotnet/msbuild
yuehuang010 bc8438f
Merge branch 'main' of https://github.com/dotnet/msbuild
yuehuang010 b32b17b
Merge branch 'main' of https://github.com/dotnet/msbuild
yuehuang010 e68be0b
Fix Feedback
yuehuang010 fbe74f2
Fix Feedback.
yuehuang010 bc99873
Update tests
yuehuang010 78f5bbe
Address some feedbacks.
yuehuang010 9327256
Update help message
yuehuang010 7326095
With xlf
yuehuang010 8299d54
update string 80 char or less.
yuehuang010 b23ed15
Update comments.
yuehuang010 2364b0b
Merge branch 'main' of https://github.com/dotnet/msbuild
yuehuang010 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| // Copyright (c) Microsoft. All rights reserved. | ||
| // Licensed under the MIT license. See LICENSE file in the project root for full license information. | ||
|
|
||
| #nullable disable | ||
|
|
||
| namespace Microsoft.Build.Framework | ||
| { | ||
| /// <summary> | ||
| /// Interface for tasks which is incremental | ||
| /// </summary> | ||
| public interface IIncrementalTask | ||
| { | ||
| void SetQuestion(bool question); | ||
yuehuang010 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| } | ||
| } | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.