Fix install verification command order
This commit is contained in:
@@ -40,7 +40,7 @@ zig build run -- --help
|
|||||||
Canonical server install verification for a selected profile:
|
Canonical server install verification for a selected profile:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
zig build verify-install-code --prefix /tmp/mim-install
|
zig build --prefix /tmp/mim-install verify-install-code
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+5
-5
@@ -5,20 +5,20 @@
|
|||||||
From a clean checkout on the target server:
|
From a clean checkout on the target server:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
zig build install-code --prefix "$HOME/.local"
|
zig build --prefix "$HOME/.local" install-code
|
||||||
"$HOME/.local/bin/mim" --version
|
"$HOME/.local/bin/mim" --version
|
||||||
```
|
```
|
||||||
|
|
||||||
Choose the smallest profile that matches the server job:
|
Choose the smallest profile that matches the server job:
|
||||||
|
|
||||||
- `zig build install-min --prefix "$HOME/.local"` installs `mim-min` as `$HOME/.local/bin/mim`.
|
- `zig build --prefix "$HOME/.local" install-min` installs `mim-min` as `$HOME/.local/bin/mim`.
|
||||||
- `zig build install-code --prefix "$HOME/.local"` installs `mim-code` as `$HOME/.local/bin/mim`.
|
- `zig build --prefix "$HOME/.local" install-code` installs `mim-code` as `$HOME/.local/bin/mim`.
|
||||||
- `zig build install-full --prefix "$HOME/.local"` installs `mim-full` as `$HOME/.local/bin/mim`.
|
- `zig build --prefix "$HOME/.local" install-full` installs `mim-full` as `$HOME/.local/bin/mim`.
|
||||||
|
|
||||||
For CI or agent verification without relying on the shell to execute the copied path directly, use the matching verification step:
|
For CI or agent verification without relying on the shell to execute the copied path directly, use the matching verification step:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
zig build verify-install-code --prefix /tmp/mim-install
|
zig build --prefix /tmp/mim-install verify-install-code
|
||||||
```
|
```
|
||||||
|
|
||||||
That step installs the selected binary to `/tmp/mim-install/bin/mim` and runs the installed artifact with `--version`.
|
That step installs the selected binary to `/tmp/mim-install/bin/mim` and runs the installed artifact with `--version`.
|
||||||
|
|||||||
Reference in New Issue
Block a user