Exclude tests from formatting as they are auto-generated and include html

Summary: Don't want to autoformat tests as they are autogenerated. Also they contain html which we don't want to get limited by line length.

Reviewed By: lucasr

Differential Revision: D3785246

fbshipit-source-id: 3e07b300ad16a1f0de53840e399eea25f4672b58
This commit is contained in:
Emil Sjolander
2016-08-30 09:57:42 -07:00
committed by Facebook Github Bot
parent e3fa40e694
commit c28148caff

View File

@@ -28,7 +28,6 @@ clang-format \
UseTab: Never, \
}" "$@" \
-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}