docs(readme): document prek install via uv in Development Setup
prek is a standalone uv-installed binary, not provided by mise install. When absent from PATH, `prek run -av` fails with a misleading "failed to run cargo fmt -- --check" message. Add the `uv tool install prek` step and a note clarifying the failure mode.
This commit is contained in:
parent
9cf8ce5d79
commit
2312315f34
1 changed files with 3 additions and 0 deletions
|
|
@ -147,9 +147,12 @@ sudo apt install -y clang mold pkg-config libssl-dev \
|
||||||
mise trust
|
mise trust
|
||||||
mise install # Install all dev tools
|
mise install # Install all dev tools
|
||||||
mise run install-e2e # Install Chrome for Testing + ChromeDriver
|
mise run install-e2e # Install Chrome for Testing + ChromeDriver
|
||||||
|
uv tool install prek # Install prek (git hook runner) as a standalone tool
|
||||||
prek install # Install git hooks
|
prek install # Install git hooks
|
||||||
```
|
```
|
||||||
|
|
||||||
|
> **Note:** `prek` is a standalone binary installed via [`uv`](https://docs.astral.sh/uv/) and must be on `PATH`. If it is missing, `prek run -av` cannot invoke `cargo fmt -- --check` and reports `failed to run cargo fmt -- --check` — this is the missing `prek`/toolchain, not a formatting error. Installing `prek` resolves it.
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue