Make the adoption smoke command runnable

This commit is contained in:
2026-11-04 01:21:20 +00:00
parent 13e1c21386
commit fcec6357ff
2 changed files with 3 additions and 1 deletions

View File

@@ -44,7 +44,7 @@ export GOOS="$releasekit_host_os" GOARCH="$releasekit_host_arch"
exec go tool releasekit "$@" exec go tool releasekit "$@"
``` ```
Save this launcher as `releasekit` and run `./releasekit version` from the Save this launcher as `releasekit` and run `sh ./releasekit version` from the
selected module to verify registration. It preserves the consumer's workspace selected module to verify registration. It preserves the consumer's workspace
and toolchain settings while selecting the host for the executable. and toolchain settings while selecting the host for the executable.
For a launcher callable from other directories, first change to its consumer For a launcher callable from other directories, first change to its consumer

View File

@@ -12,6 +12,8 @@ profile, and the public Go facades and dependency boundaries are unchanged.
## Make the adoption smoke command runnable ## Make the adoption smoke command runnable
**Completed.** The smoke command runs the saved launcher through `sh`; verified with a non-executable file and a foreign target.
**Evidence:** The [adoption guide](../consumers/adoption.md#cli-tool-dependency) **Evidence:** The [adoption guide](../consumers/adoption.md#cli-tool-dependency)
tells readers to save the launcher as `releasekit` and run tells readers to save the launcher as `releasekit` and run
`./releasekit version`. A newly saved shell file ordinarily lacks its execute `./releasekit version`. A newly saved shell file ordinarily lacks its execute