Repository navigation
[rush] Improve command-line help for "rush build" and "rush rebuild" - #789
Merged
Merged
Conversation
…ebuild" commands, unless invoked under a Rush folder
| "changes": [ | ||
| { | ||
| "comment": "Improve command-line help for \"rush build\"", | ||
| "packageName": "@microsoft/rush", |
There was a problem hiding this comment.
I don't think rush change -v allows you to have two changefiles.
| protected defineScriptParameters(): void { | ||
| if (!this._commandLineConfiguration) { | ||
| return; | ||
| } |
There was a problem hiding this comment.
Fixing a null pointer exception issue?
| documentation: 'This command is similar to "rush rebuild", except that "rush build" performs' | ||
| + ' an incremental build. In other words, it only builds projects whose source files have' | ||
| + ' changed since the last successful build. The analysis requires a Git working tree, and' | ||
| + ' only considers source files that are tracked by Git and whose path is under the project folder.' |
There was a problem hiding this comment.
only considers source files that are tracked by Git [](start = 12, length = 51)
More precisely "only consider files that aren't ignored by Git" since it does take into account untracked files.
| private _populateScriptActions(): void { | ||
| if (!this.rushConfiguration) { | ||
| return; | ||
| } |
There was a problem hiding this comment.
Is this what broke the command-line help?
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.