Skip to content

Instantly share code, notes, and snippets.

@brianmichel
Created May 23, 2017 14:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brianmichel/e874eb0da3bb29c5038f71637562c6ae to your computer and use it in GitHub Desktop.
Save brianmichel/e874eb0da3bb29c5038f71637562c6ae to your computer and use it in GitHub Desktop.
SwiftLint Build Phase
git diff HEAD --name-only -- "Ando/*.swift" | while read filename; do
${PODS_ROOT}/SwiftLint/swiftlint lint --path "$filename";
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment