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

Have CI do a fmt as well #55

Merged
merged 6 commits into from
May 10, 2018
Merged

Have CI do a fmt as well #55

merged 6 commits into from
May 10, 2018

Conversation

Hoverbear
Copy link
Contributor

Currently we're not using rustfmt via CI for Raft, and we should be! This configures it.

@Hoverbear Hoverbear force-pushed the add-rustfmt branch 2 times, most recently from 0f3d14c to 238b88f Compare April 19, 2018 19:25
@Hoverbear
Copy link
Contributor Author

This is failing due to the Rust version being too old to have the rustfmt-preview component. I'll do this in another PR.

@Hoverbear
Copy link
Contributor Author

Based this off #56 so it will be green. Please merge #56 first though.

@Hoverbear Hoverbear force-pushed the add-rustfmt branch 3 times, most recently from ccbe15c to eec1d60 Compare April 19, 2018 21:57
.travis.yml Outdated
install:
- export PATH="$PATH:$HOME/.cargo/bin"
- rustup component add rustfmt-preview
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What if the format is different from stable channel?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Great catch, you're totally right. We should just run rustfmt on stable.

@BusyJay
Copy link
Member

BusyJay commented May 10, 2018

LGTM

Copy link
Contributor

@siddontang siddontang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@siddontang siddontang merged commit 1beea8c into master May 10, 2018
@siddontang siddontang deleted the add-rustfmt branch May 10, 2018 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants