Skip to content

Commit

Permalink
Merge pull request #123 from afterpay/fix-example-swiftlint
Browse files Browse the repository at this point in the history
Fix swiftlint-example script to respect the Mintfile
  • Loading branch information
adamjcampbell authored Nov 11, 2020
2 parents ebb634d + e1921db commit 64d745c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Scripts/swiftlint-example
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ set -euo pipefail
# the default SDK for the platform not the one set by the build script
unset SDKROOT

../Tools/mint/mint run swiftlint \
# The Mintfile is specified in the directory above
cd ..

./Tools/mint/mint run swiftlint \
--quiet \
--path Example \
--config ../../.swiftlint.yml
--config ../.swiftlint.yml

0 comments on commit 64d745c

Please sign in to comment.