react-native-vision-camera/scripts/ktlint.sh

8 lines
181 B
Bash
Raw Normal View History

2021-03-09 02:53:29 -07:00
#!/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