Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
echo "\Clang-Format all files in current dir except ones in */libs/* folder and names containing *.framework.*"
find . -name "*.[hm]" ! -path "*/libs/*" ! -path "*.framework*" ! -path "*/ThirdParty/*" ! -path "*/Pods/*" -print0 | xargs -0 clang-format -i
echo "DONE"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment