platform_system_security/PREUPLOAD.cfg
Shawn Willden f62a22e735 Add PREUPLOAD to require clang-format.
Also move .clang-format to top of repo.

Test: N/A
Change-Id: I1d25c570bd4975a63fff88ef0b79057fe88f8848
2017-12-04 17:06:49 -07:00

5 lines
142 B
INI

[Builtin Hooks]
clang_format = true
[Builtin Hooks Options]
clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp