dont quit build if clang-format not present

This commit is contained in:
Iris Lightshard 2021-11-16 15:19:53 -07:00
parent ec51fdf5c9
commit 30a50ad90e
Signed by: Iris Lightshard
GPG key ID: 3B7FBC22144E6398

View file

@ -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