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