Skip to content

Commit

Permalink
Run cargo build on pre-push
Browse files Browse the repository at this point in the history
  • Loading branch information
julian-hartl committed Mar 29, 2024
1 parent fc175f1 commit cfc9b50
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .rusty-hook.toml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit cfc9b50

Please sign in to comment.