Skip to content

Commit 5d6032d

Browse files
authored
Merge pull request #45 from JKISoftware/rusty-hook-git-hooks
Rusty hook git hooks
2 parents 91a3b1c + 4305e64 commit 5d6032d

File tree

3 files changed

+75
-0
lines changed

3 files changed

+75
-0
lines changed

.rusty-hook.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[hooks]
2+
pre-commit = "cargo test"
3+
pre-push = "cargo fmt -- --check"
4+
5+
[logging]
6+
verbose = true

Cargo.lock

Lines changed: 68 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,4 @@ pingora-core = "0.5.0"
3232
async-trait = "0.1.88"
3333
tokio = { version = "1.45.1", features = ["macros", "rt-multi-thread"] }
3434
sfv = "0.13.0"
35+
rusty-hook = "0.11.2"

0 commit comments

Comments
 (0)