8 lines
196 B
Bash
Executable File
8 lines
196 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if which swiftformat >/dev/null; then
|
|
cd ios && swiftformat --quiet .
|
|
else
|
|
echo "warning: SwiftFormat not installed, download from https://github.com/nicklockwood/SwiftFormat"
|
|
fi
|