Rustfmt pass, and rustfmt --check in CI"

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2019-10-23 01:32:41 +02:00
commit a104ebc3f6
No known key found for this signature in database
GPG key ID: DEDA74AEECA9D0F2
79 changed files with 1344 additions and 957 deletions

View file

@ -1,4 +1,5 @@
stages:
- lint
- build
- test
@ -30,6 +31,11 @@ variables:
script:
- cargo test --verbose
rustfmt:
stage: lint
script:
- rustfmt --check --edition 2018 **/*.rs
rust-latest-build:
extends:
- .build