diff --git a/format.sh b/format.sh new file mode 100755 index 0000000..9862556 --- /dev/null +++ b/format.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +find src/ ui/ \ + \( \ + -name '*.cxx' -o \ + -name '*.hxx' -o \ + -name '*.c' -o \ + -name '*.h' \ + \) \ + -print \ + -exec 'clang-format' '-i' '{}' \;