forked from Azure/azure-openapi-validator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
command-line.json
69 lines (69 loc) · 2.3 KB
/
command-line.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
/**
* This configuration file defines custom commands for the "rush" command-line.
* For full documentation, please see https://rushjs.io
*/
{
"$schema": "https://developer.microsoft.com/json-schemas/rush/v5/command-line.schema.json",
/**
* Custom "commands" introduce new verbs for the command-line. To see the help for these
* example commands, try "rush --help", "rush my-bulk-command --help", or
* "rush my-global-command --help".
*/
"commands": [
{
"name": "build",
"commandKind": "bulk",
"summary": "Build all projects that haven't been built, or have changed since they were last built",
"incremental": true,
"enableParallelism": true,
"allowWarningsInSuccessfulBuild": true
},
{
"commandKind": "global",
"safeForSimultaneousRushProcesses": true,
"name": "test",
"summary": "(CUSTOM) Runs test on all projects.",
"shellCommand": "node eng/scripts/test.js"
},
{
"commandKind": "global",
"safeForSimultaneousRushProcesses": true,
"name": "pack",
"summary": "(CUSTOM) Runs pack on all projects.",
"shellCommand": "node eng/scripts/pack.js"
},
{
"commandKind": "global",
"safeForSimultaneousRushProcesses": true,
"name": "regression-test",
"summary": "(CUSTOM) Runs regression test",
"shellCommand": "node eng/scripts/regression-test.js"
},
{
"commandKind": "global",
"safeForSimultaneousRushProcesses": true,
"name": "regen-ruleindex",
"summary": "(CUSTOM) Regen rules index",
"shellCommand": "node eng/scripts/gen-rules-index.js"
},
{
"commandKind": "bulk",
"name": "lint:fix",
"summary": "Fix linting errors for projects. Runs `npm run lint:fix` on all projects.",
"enableParallelism": true
},
{
"commandKind": "bulk",
"name": "lint",
"summary": "Lint projects. Runs `npm run lint` on all projects.",
"enableParallelism": true
},
{
"commandKind": "global",
"name": "prep",
"summary": "Run the various commands needed to generate files before merging a pull request.",
"shellCommand": "rush update && rush build && rush lint && rush test && rush regen-ruleindex && rush change",
"safeForSimultaneousRushProcesses": true
}
]
}