docs(nix): run natu during reviews
This commit is contained in:
@@ -12,10 +12,16 @@ After editing Nix files, run:
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
nix run .#fix
|
nix run .#fix
|
||||||
bazel run //src/natu:natu -- <modified-nix-paths>
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Pass every modified Nix path to Natu.
|
After editing or reviewing Nix files, run:
|
||||||
|
|
||||||
Finish when both commands succeed and the Nix change follows the loaded rules.
|
```bash
|
||||||
|
bazel run //src/natu:natu -- <nix-paths>
|
||||||
|
```
|
||||||
|
|
||||||
|
Pass every edited or reviewed Nix path to Natu.
|
||||||
|
|
||||||
|
Finish an edit when both commands succeed and the Nix change follows the loaded rules.
|
||||||
|
Finish a review when Natu succeeds and the reviewed code follows the loaded rules.
|
||||||
If a command fails, report the failure.
|
If a command fails, report the failure.
|
||||||
|
|||||||
Reference in New Issue
Block a user