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
|
|
|
|
echo "warning: SwiftFormat not installed, download from https://github.com/nicklockwood/SwiftFormat"
|
|
|
|
fi
|