Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check rustfmt has been applied during the build #89

Merged
merged 6 commits into from Oct 15, 2019

Conversation

@palfrey
Copy link
Contributor

palfrey commented Oct 14, 2019

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)

@GrayJack GrayJack merged commit 6578c04 into GrayJack:master Oct 15, 2019
1 check passed
1 check passed
Travis CI - Pull Request Build Passed
Details
@palfrey palfrey deleted the palfrey:autofmt branch Oct 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.