Exclude tests and experimental stuff from autoformat

This commit is contained in:
Roman Grundkiewicz 2017-10-19 12:55:16 +00:00
parent 53d5d77e2a
commit fce8a3b6ff

View File

@ -1,3 +1,3 @@
#!/bin/bash
find ./src -path ./src/3rd_party -prune -o -iname *.h -o -iname *.cpp -o -iname *.cu | xargs clang-format-3.8 -i
find ./src -path ./src/3rd_party -path ./src/tests -path ./src/models/experimental -prune -o -iname *.h -o -iname *.cpp -o -iname *.cu | xargs clang-format-3.8 -i