You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rename the toolchain commands to rb msvc enable/exec
A top-level `rb exec` reads as "run under the selected ruby", the
meaning exec has in version managers, not as MSVC build-environment
activation. Namespace both surfaces under the toolset name and rename
the Devkit class to Msvc to match; "devkit" is not a Visual Studio
term.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: docs/test-plan.md
+15-15Lines changed: 15 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,8 +34,8 @@ Command surface and contracts:
34
34
|`rb list`| Installed names sorted, active one starred | 0 |
35
35
|`rb use <query>`| Resolve query (exact or case-insensitive substring; must be unambiguous), recreate the `current` junction, ensure PATH | 0 / 1 |
36
36
|`rb uninstall <query>`| Resolve; if active, delete the junction first and print a hint; delete the install dir recursively | 0 / 1 |
37
-
|`rb enable [shell]`| Locate VsDevCmd via vswhere, compute the env delta of activation, print per-shell assignments plus an unset of `NoDefaultCurrentDirectoryInExePath`. Shell defaults to PowerShell; `cmd`/`bat` selects cmd syntax. No toolchain: actionable warning on stderr | 0 / 1 |
38
-
|`rb exec <cmd...>`| Same delta applied to a `cmd /s /c` child (so `.cmd` shims resolve); removes `NoDefaultCurrentDirectoryInExePath`; propagates the child's exit code | child / 1 |
37
+
|`rb msvc enable [shell]`| Locate VsDevCmd via vswhere, compute the env delta of activation, print per-shell assignments plus an unset of `NoDefaultCurrentDirectoryInExePath`. Shell defaults to PowerShell; `cmd`/`bat` selects cmd syntax. No toolchain: actionable warning on stderr | 0 / 1 |
38
+
|`rb msvc exec <cmd...>`| Same delta applied to a `cmd /s /c` child (so `.cmd` shims resolve); removes `NoDefaultCurrentDirectoryInExePath`; propagates the child's exit code | child / 1 |
39
39
| anything else | Usage text | 2 |
40
40
41
41
Any thrown exception is caught in `Main`, printed as `rb: <message>` to
@@ -63,7 +63,7 @@ stderr, exit 1.
63
63
and deletes it in `Dispose`. Junction targets and junction points
64
64
both live inside it.
65
65
- Tests that redirect `Console.Out`/`Console.Error` or mutate the
66
-
process environment (`Program`/`Devkit` in-process tests) go in one
66
+
process environment (`Program`/`Msvc` in-process tests) go in one
67
67
xUnit collection (`[Collection("process-global")]`) so they never
68
68
run in parallel with each other. E2E tests spawn processes and can
69
69
stay parallel because each gets its own root via the env seam.
@@ -97,7 +97,7 @@ Keep this to the minimum below; each item is a mechanical change.
97
97
an env var `RBMANAGER_ENV_KEY` naming an alternative HKCU-relative
98
98
subkey (and suppress the broadcast when it is set) so a full
99
99
`rb install` run never touches the real PATH.
100
-
3.`Devkit` seams. Make `VsWhere` an internal settable property (env
100
+
3.`Msvc` seams. Make `VsWhere` an internal settable property (env
101
101
override `RBMANAGER_VSWHERE` for E2E), and make `ActivatedDelta`,
0 commit comments