diff --git a/.rusty-hook.toml b/.rusty-hook.toml index 9d22df4..ba93a5f 100644 --- a/.rusty-hook.toml +++ b/.rusty-hook.toml @@ -1,5 +1,6 @@ [hooks] -pre-commit = "cargo build && cargo fmt --all" +pre-commit = "cargo fmt --all" +pre-push = "cargo build" post-commit = "Ran pre-commit hook" [logging] verbose = true