Skip to content
Permalink
Browse files

run-clang-format.sh: Now the script can be called from any PWD

  • Loading branch information...
SwimmingTiger committed Jun 25, 2019
1 parent 3e1e66a commit f9d614884af6874ef36f3c172b421de56888d193
Showing with 1 addition and 0 deletions.
  1. +1 −0 run-clang-format.sh
@@ -1,4 +1,5 @@
#!/bin/sh
cd "$(dirname "$0")"
for SRC_DIR in src test tools
do
find $SRC_DIR -name '*.h' -or -name '*.inl' -or -name '*.cc' | xargs clang-format -i -style file

0 comments on commit f9d6148

Please sign in to comment.
You can’t perform that action at this time.