react-native-vision-camera/package/scripts/swiftlint.sh
2024-02-20 20:34:34 +01:00

9 lines
256 B
Bash
Executable File

#!/bin/bash
if which swiftlint >/dev/null; then
cd ios && swiftlint --quiet --fix && swiftlint --quiet
else
echo "error: SwiftLint not installed, install with 'brew install swiftlint' (or manually from https://github.com/realm/SwiftLint)"
exit 1
fi