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
Copy file name to clipboardExpand all lines: README.md
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,23 @@ Options:
28
28
Print version
29
29
```
30
30
31
+
### Adoption
32
+
This is an experimental tool and not currently supported by Gusto engineering foundational teams. It might stop working at any time. If you still wish to adopt it locally and get faster git commit hooks, do the following:
33
+
```bash
34
+
# sets up a Rust toolchain
35
+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
36
+
37
+
# Compile and install locall
38
+
gh repo clone rubyatscale/codeowners-rs
39
+
cd codeowners-rs
40
+
cargo install --path .
41
+
42
+
# Set an environment variable that switches ZP's commit hook to use the globally installed binary
43
+
echo USE_CODEOWNERS_RS=true >>~/.zshrc
44
+
```
45
+
46
+
47
+
31
48
### Development
32
49
The CLI is written in Rust. Rust provides strong type gurantees and an great ecosystem of CLI libraries. To be able to compile the code locally, you'll need to setup a rust compiler (See https://rustup.rs/):
0 commit comments