Merge pull request #4 from frangio/cargo-check

Add cargo check hook
This commit is contained in:
Fadi Hadzh 2019-05-07 23:41:03 +03:00 committed by GitHub
commit ebc9050d3d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 0 deletions

View file

@ -5,3 +5,10 @@
language: system
files: \.rs$
args: []
- id: cargo-check
name: cargo check
description: Check the package for errors.
entry: cargo check
language: system
files: \.rs$
pass_filenames: false

View file

@ -9,4 +9,5 @@
rev: master
hooks:
- id: fmt
- id: cargo-check
```

View file

@ -5,3 +5,10 @@
language: system
files: \.rs$
args: []
- id: cargo-check
name: cargo check
description: Check the package for errors.
entry: cargo check
language: system
files: \.rs$
pass_filenames: false