From c28148caffc0737c7abe90ef3f4c56de48d0c217 Mon Sep 17 00:00:00 2001 From: Emil Sjolander Date: Tue, 30 Aug 2016 09:57:42 -0700 Subject: [PATCH] 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 --- format.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/format.sh b/format.sh index 2c821fb4..817d7fa3 100755 --- a/format.sh +++ b/format.sh @@ -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}