Skip to content

Commit 88c004b

Browse files
committed
Fix documentation and a few things in tests.
1 parent c53b1e7 commit 88c004b

3 files changed

Lines changed: 10 additions & 9 deletions

File tree

apps/rush-lib/src/cli/RushCommandLineParser.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,9 +206,9 @@ export class RushCommandLineParser extends CommandLineParser {
206206
+ ' since the last successful build. The analysis requires a Git working tree, and only considers'
207207
+ ' source files that are tracked by Git and whose path is under the project folder. (For more details'
208208
+ ' about this algorithm, see the documentation for the "package-deps-hash" NPM package.) The incremental'
209-
+ ' build state is tracked in a folder called ".rush" which should NOT be added to Git. The build command is'
210-
+ ' tracked by the "arguments" field in the "package-deps_build.json" file contained therein; a full'
211-
+ ' rebuild is forced whenever the command has changed (e.g. "--production" or not).',
209+
+ ' build state is tracked in a per-project folder called ".rush/temp" which should NOT be added to Git. The'
210+
+ ' build command is tracked by the "arguments" field in the "package-deps_build.json" file contained'
211+
+ ' therein; a full rebuild is forced whenever the command has changed (e.g. "--production" or not).',
212212
parser: this,
213213
commandLineConfiguration: commandLineConfiguration,
214214

apps/rush-lib/src/cli/test/RushCommandLineParser.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ function getCommandLineParserInstance(repoName: string, taskName: string): IPars
4545

4646
// The `build` task is hard-coded to be incremental. So delete the package-deps file folder in
4747
// the test repo to guarantee the test actually runs.
48-
FileSystem.deleteFolder(resolve(__dirname, `${repoName}/a/.rush`));
49-
FileSystem.deleteFolder(resolve(__dirname, `${repoName}/b/.rush`));
48+
FileSystem.deleteFolder(resolve(__dirname, `${repoName}/a/.rush/temp`));
49+
FileSystem.deleteFolder(resolve(__dirname, `${repoName}/b/.rush/temp`));
5050

5151
// Create a Rush CLI instance. This instance is heavy-weight and relies on setting process.exit
5252
// to exit and clear the Rush file lock. So running multiple `it` or `describe` test blocks over the same test

apps/rush-lib/src/cli/test/__snapshots__/CommandLineHelp.test.ts.snap

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,11 @@ files have changed since the last successful build. The analysis requires a
105105
Git working tree, and only considers source files that are tracked by Git and
106106
whose path is under the project folder. (For more details about this
107107
algorithm, see the documentation for the \\"package-deps-hash\\" NPM package.)
108-
The incremental build state is tracked in a folder called \\".rush\\" which
109-
should NOT be added to Git. The build command is tracked by the \\"arguments\\"
110-
field in the \\"package-deps_build.json\\" file contained therein; a full rebuild
111-
is forced whenever the command has changed (e.g. \\"--production\\" or not).
108+
The incremental build state is tracked in a per-project folder called \\".
109+
rush/temp\\" which should NOT be added to Git. The build command is tracked by
110+
the \\"arguments\\" field in the \\"package-deps_build.json\\" file contained
111+
therein; a full rebuild is forced whenever the command has changed (e.g.
112+
\\"--production\\" or not).
112113
113114
Optional arguments:
114115
-h, --help Show this help message and exit.

0 commit comments

Comments
 (0)