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

9 lines
248 B
Bash
Executable File

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