7 lines
252 B
Bash
7 lines
252 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
if which swiftlint >/dev/null; then
|
||
|
cd ios && swiftlint --quiet --fix && swiftlint --quiet
|
||
|
else
|
||
|
echo "[ERROR]: SwiftLint is not installed - Install with 'brew install swiftlint' (or manually from https://github.com/realm/SwiftLint)"
|
||
|
fi
|