Skip to content

[rush] Improve command-line help for "rush build" and "rush rebuild" - #789

Merged
Pete Gonzalez (octogonz) merged 4 commits into
masterfrom
pgonzal/fix-rush-help
Aug 28, 2018
Merged

Pete Gonzalez (octogonz) merged 4 commits into
masterfrom
pgonzal/fix-rush-help

Conversation

@octogonz

Copy link
Copy Markdown
Collaborator

No description provided.

"changes": [
{
"comment": "Improve command-line help for \"rush build\"",
"packageName": "@microsoft/rush",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think rush change -v allows you to have two changefiles.

protected defineScriptParameters(): void {
if (!this._commandLineConfiguration) {
return;
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.'

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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;
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this what broke the command-line help?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@octogonz
Pete Gonzalez (octogonz) merged commit 1a1efd9 into master Aug 28, 2018
@octogonz
Pete Gonzalez (octogonz) deleted the pgonzal/fix-rush-help branch September 1, 2018 05:16
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.

3 participants