react-native-vision-camera/package/scripts/swiftlint.sh
2023-09-25 13:04:22 +02:00

8 lines
249 B
Bash
Executable File

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