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
|
language: system
|
||||||
types: [rust]
|
types: [rust]
|
||||||
pass_filenames: false
|
pass_filenames: false
|
||||||
- id: clippy
|
- id: cargo-clippy
|
||||||
name: clippy
|
name: cargo clippy
|
||||||
description: Lint rust sources
|
description: Lint rust sources
|
||||||
entry: cargo clippy
|
entry: cargo clippy
|
||||||
language: system
|
language: system
|
||||||
args: ["--", "-D", "warnings"]
|
args: ["--", "-D", "warnings"]
|
||||||
types: [rust]
|
types: [rust]
|
||||||
pass_filenames: false
|
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