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

[rush] Fix an issue with adding the default options to the build and rebuild commands. #3179

Merged
merged 2 commits into from
Jan 21, 2022

Conversation

iclanton
Copy link
Member

Summary

Rush allows a repo maintainer to specify only the options that they specifically want to override in common/config/rush/command-line.json for the "build" and "rebuild" commands. This is broken if the maintainer wants to make build a phased command.

This change fixes population of the summary, description, and other default options for build and rebuild by allowing these to apply to both bulk and phased commands and by eliminating the options that aren't shared between the two from the defaults (all of which were already set to the defaults for a bulk command).

How it was tested

Tested by removing all but the "commandKind", "name", and "phases" options from common/config/rush/command-line.json in this branch: #3145

@iclanton iclanton merged commit 9a73f51 into microsoft:master Jan 21, 2022
@iclanton iclanton deleted the fix-build-rebuild-defaults branch January 21, 2022 02:48
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