react-native-vision-camera/package/scripts/swiftformat.sh

8 lines
241 B
Bash
Raw Normal View History

2021-03-09 02:53:29 -07:00
#!/bin/bash
if which swiftformat >/dev/null; then
2021-03-09 04:19:18 -07:00
cd ios && swiftformat --quiet .
2021-03-09 02:53:29 -07:00
else
2023-09-25 05:04:22 -06:00
echo "warning: SwiftFormat not installed, install with 'brew install swiftformat' (or manually from https://github.com/nicklockwood/SwiftFormat)"
2021-03-09 02:53:29 -07:00
fi