8 lines
181 B
Bash
Executable File
8 lines
181 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if which ktlint >/dev/null; then
|
|
cd android && ktlint -F ./**/*.kt*
|
|
else
|
|
echo "warning: KTLint not installed, download from https://github.com/pinterest/ktlint"
|
|
fi
|