8 lines
206 B
Bash
Raw Normal View History

2021-03-09 10:53:29 +01:00
#!/bin/bash
if which swiftlint >/dev/null; then
2021-03-09 12:19:18 +01:00
cd ios && swiftlint --quiet --fix && swiftlint --quiet
2021-03-09 10:53:29 +01:00
else
echo "warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint"
fi