Files
Sourcery/Scripts/SwiftLint.sh
T
2017-02-01 12:06:50 +01:00

9 lines
246 B
Bash
Executable File

#!/bin/zsh
if which swiftlint >/dev/null; then
swiftlint autocorrect
swiftlint
else
echo "warning: SwiftLint not installed. Install using brew update && brew install swiftlint or download from https://github.com/realm/SwiftLint."
fi