Add rusty-hook for pre-push cargo fmt
This commit is contained in:
parent
0a99e1637b
commit
05940b0e9e
|
@ -0,0 +1,5 @@
|
||||||
|
[hooks]
|
||||||
|
pre-push = "cargo fmt --all -- --check --color always"
|
||||||
|
|
||||||
|
[logging]
|
||||||
|
verbose = true
|
|
@ -40,3 +40,4 @@ jsonwebtoken = "8.3.0"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
lazy_static = "1.4.0"
|
lazy_static = "1.4.0"
|
||||||
|
rusty-hook = "0.11.2"
|
Loading…
Reference in New Issue