Skip to content

Conversation

mikelehen
Copy link
Contributor

Should we enforce that people use version 6 clang-format? :-)

set -euo pipefail

if [[ $(clang-format --version) != **"version 6"** ]]; then
echo "Please upgrade to clang-format version 6."
Copy link
Member

Choose a reason for hiding this comment

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

Perhaps add instructions - brew upgrade clang-format

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good idea, done.

Copy link
Contributor

@wilhuff wilhuff left a comment

Choose a reason for hiding this comment

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

LGTM

@mikelehen mikelehen merged commit 4dd07c6 into master Jan 10, 2018
@mikelehen mikelehen deleted the mikelehen/style-sh-version-check branch January 10, 2018 18:11
minafarid pushed a commit to minafarid/firebase-ios-sdk that referenced this pull request Jun 6, 2018
@firebase firebase locked and limited conversation to collaborators Nov 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants