You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
exiv2/contrib/scripts/clangFormatWholeProject.sh

11 lines
536 B
Bash

# This script is making the following assumptions:
# - 1) You are running the script from the project root directory
# - 2) clang-format is in your $PATH
find src/ -iname *.h* -o -iname *.c* | xargs clang-format -i
find include/ -iname *.h* -o -iname *.c* | xargs clang-format -i
find samples/ -iname *.h* -o -iname *.c* | xargs clang-format -i
find unitTests/ -iname *.h* -o -iname *.c* | xargs clang-format -i
find app/ -iname *.h* -o -iname *.c* | xargs clang-format -i
find fuzz/ -iname *.h* -o -iname *.c* | xargs clang-format -i