ci: set up clippy pre-hook

This commit is contained in:
ClementTsang 2020-08-23 21:39:53 -04:00
parent 6fbbaef73b
commit 691f6647e0

View file

@ -55,7 +55,6 @@ winapi = "0.3.9"
[dev-dependencies] [dev-dependencies]
assert_cmd = "1.0" assert_cmd = "1.0"
predicates = "1" predicates = "1"
cargo-husky = "1"
[package.metadata.deb] [package.metadata.deb]
section = "utility" section = "utility"
@ -72,3 +71,8 @@ exist at the specified or default location, a blank one will be created for the
[package.metadata.wix] [package.metadata.wix]
output = "bottom_x86_64_installer.msi" output = "bottom_x86_64_installer.msi"
[dev-dependencies.cargo-husky]
version = "1"
default-features = false
features = ["precommit-hook", "run-cargo-clippy"]