GrayJack / coreutils

Core utils re-implementation for UNIX/UNIX-like systems written in Rust
Mozilla Public License 2.0
106 stars 40 forks source link

Check rustfmt has been applied during the build #89

Closed palfrey closed 4 years ago

palfrey commented 4 years ago

Adds a new Travis build that checks the formatting of the code against the current rustfmt.toml and fails the build if it hasn't been applied.

https://travis-ci.com/palfrey/coreutils/builds/131868849 demos it failing because date/src/main.rs wasn't correctly formatted (which I've fixed in this PR)