91d7135562
* chore: add swift linter * chore: add clang linters * chore: add kotlin linter * chore(ci): update workflows * chore(ci): clean workflows
7 lines
274 B
Bash
Executable File
7 lines
274 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if which ktlint >/dev/null; then
|
|
cd android && ktlint --color --relative --editorconfig=./.editorconfig -F ./**/*.kt*
|
|
else
|
|
echo "[ERROR]: KTLint is not installed - Install with 'brew install ktlint' (or manually from https://github.com/pinterest/ktlint)"
|
|
fi |