Specify format folders more granularly
Summary: We don't want to format files in lib/ for example. For some reason java/jni and tests/CSSLayoutTestUtils folders were previously ignored. This change formats those folders as well. Reviewed By: lucasr Differential Revision: D3715203 fbshipit-source-id: 37bcbd36bcf8535cfca73d6a806ab0f1d097dde7
This commit is contained in:
committed by
Facebook Github Bot 6
parent
53ff4f59ca
commit
48e5304276
@@ -27,4 +27,8 @@ clang-format \
|
||||
SpaceAfterCStyleCast: true, \
|
||||
UseTab: Never, \
|
||||
}" "$@" \
|
||||
-i $(dirname $0)/**/*.{h,c,cpp}
|
||||
-i $(dirname $0)/CSSLayout/*.{h,c,cpp} \
|
||||
$(dirname $0)/tests/*.{h,c,cpp} \
|
||||
$(dirname $0)/tests/CSSLayoutTestUtils/*.{h,c,cpp} \
|
||||
$(dirname $0)/benchmarks/*.{h,c,cpp} \
|
||||
$(dirname $0)/java/jni/*.{h,c,cpp}
|
||||
|
Reference in New Issue
Block a user