mirror of
https://github.com/darlinghq/darling-cocotron.git
synced 2024-11-26 21:40:44 +00:00
13 lines
301 B
Bash
Executable File
13 lines
301 B
Bash
Executable File
|
|
#!/bin/sh
|
|
|
|
export PATH="$(pwd)/llvm/build/bin:${PATH}"
|
|
|
|
set -e
|
|
|
|
cd ../
|
|
|
|
clang-format --version
|
|
|
|
find . -path './formatting' -prune -o -path './.git' -prune -o \( \( -name '*.m' -o -name '*.mm' -o -name '*.h' -o -name '*.cpp' -o -name '*.c' \) -a -exec clang-format --verbose --style file -i {} \; \)
|