Skip to content

Commit

Permalink
setup rusty-hook
Browse files Browse the repository at this point in the history
  • Loading branch information
ezpuzz committed Dec 27, 2020
1 parent 904baa3 commit d10c264
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .rusty-hook.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[hooks]
pre-commit = "cargo check"
pre-push = [
"cargo test",
"cargo fix",
"cargo +nightly fmt",
"cargo +nightly clippy -Z unstable-options --workspace --fix",
]

[logging]
verbose = true
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ lazy_static = "1.4.0"
glsl-layout = "0.3.2"

[dev-dependencies]
rusty-hook = "0.11.2"
derive-new = "0.5.8"
env_logger = "0.7.1"
genmesh = "0.6.2"
Expand Down

0 comments on commit d10c264

Please sign in to comment.