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

Commit acd1ef73 authored by David LeGare's avatar David LeGare
Browse files

Configure rustfmt for preupload hook

Test: N/A
Change-Id: I8f7cecfa00777983540b8fd74da9bab1753bfc01
parent 23dedb66
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
[Builtin Hooks]
clang_format = true
rustfmt = true

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

[Hook Scripts]
aosp_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "."

rustfmt.toml

0 → 120000
+1 −0
Original line number Diff line number Diff line
../../build/soong/scripts/rustfmt.toml
 No newline at end of file