Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 474550f5 authored by Bernie Innocenti's avatar Bernie Innocenti Committed by Xin Li
Browse files

Add PREUPLOAD.cfg and .clang-format for resolv

Test: N/A
Bug: 134997188
Change-Id: I903f0e8fe6c1d95609a4314f6eeaff1804d22b53
parent 278ac31f
Loading
Loading
Loading
Loading

.clang-format

0 → 120000
+1 −0
Original line number Diff line number Diff line
../../../build/soong/scripts/system-clang-format
 No newline at end of file

.editorconfig

0 → 100644
+13 −0
Original line number Diff line number Diff line
# To use this config with your editor, follow the instructions at:
# https://editorconfig.org

root = true

[*]
charset = utf-8
insert_final_newline = true
end_of_line = lf

[*.{c,h,cpp,hpp,cc,sh,bp}]
indent_style = space
indent_size = 4

PREUPLOAD.cfg

0 → 100644
+5 −0
Original line number Diff line number Diff line
[Builtin Hooks]
clang_format = true

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