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

8 lines
241 B
Bash
Executable File

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