From e1921db6e6fe0388268f6dfc9f0f147f02471c9b Mon Sep 17 00:00:00 2001 From: Adam Campbell Date: Wed, 11 Nov 2020 15:48:30 +1100 Subject: [PATCH] Fix swiftlint-example script to respect the Mintfile --- Scripts/swiftlint-example | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Scripts/swiftlint-example b/Scripts/swiftlint-example index 745fe76e..6e89703b 100755 --- a/Scripts/swiftlint-example +++ b/Scripts/swiftlint-example @@ -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