Rename clippy to cargo-clippy for consistency
Add cargo-test hook to run packages tests
This commit is contained in:
parent
f36cc0cef4
commit
c49533da57
|
@ -12,11 +12,18 @@
|
|||
language: system
|
||||
types: [rust]
|
||||
pass_filenames: false
|
||||
- id: clippy
|
||||
name: clippy
|
||||
- id: cargo-clippy
|
||||
name: cargo clippy
|
||||
description: Lint rust sources
|
||||
entry: cargo clippy
|
||||
language: system
|
||||
args: ["--", "-D", "warnings"]
|
||||
types: [rust]
|
||||
pass_filenames: false
|
||||
- id: cargo-test
|
||||
name: cargo test
|
||||
description: Run package tests
|
||||
entry: cargo test
|
||||
language: system
|
||||
args: ["--"]
|
||||
pass_filenames: false
|
||||
|
|
Loading…
Reference in a new issue