dont quit build if clang-format not present
This commit is contained in:
parent
ec51fdf5c9
commit
30a50ad90e
1 changed files with 3 additions and 1 deletions
4
build.sh
4
build.sh
|
@ -4,7 +4,9 @@ if [ ! -e config.h ]; then
|
||||||
cp config.def.h config.h
|
cp config.def.h config.h
|
||||||
fi
|
fi
|
||||||
|
|
||||||
clang-format -i ./*.c ./*.h ./*/*.c ./*/*.h
|
if which clang-format > /dev/null; then
|
||||||
|
clang-format -i ./*.c ./*.h ./*/*.c ./*/*.h
|
||||||
|
fi
|
||||||
|
|
||||||
mk clean
|
mk clean
|
||||||
mk o.rio
|
mk o.rio
|
||||||
|
|
Loading…
Reference in a new issue