diff options
author | ThiƩbaud Weksteen <tweek@google.com> | 2020-08-06 20:40:11 +0200 |
---|---|---|
committer | ThiƩbaud Weksteen <tweek@google.com> | 2020-08-06 21:10:42 +0200 |
commit | 22a619d6255af39bce50309505c5294457c87b8e (patch) | |
tree | 1e2c24686a67b295c6dafb6ff4af825461cef31f | |
parent | 48b0b40852b24c2001c1af50b11a7f24d9d07921 (diff) | |
download | extras-22a619d6255af39bce50309505c5294457c87b8e.tar.gz |
Add rustfmt configuration
Test: repo upload
Change-Id: I308dd3fe5a7d9cedb2b6c27845a2f8ae9f28d976
-rw-r--r-- | PREUPLOAD.cfg | 5 | ||||
l--------- | rustfmt.toml | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/PREUPLOAD.cfg b/PREUPLOAD.cfg new file mode 100644 index 00000000..cd6513bf --- /dev/null +++ b/PREUPLOAD.cfg @@ -0,0 +1,5 @@ +[Builtin Hooks] +rustfmt = true + +[Builtin Hooks Options] +rustfmt = --check --config-path=rustfmt.toml ${PREUPLOAD_FILES} diff --git a/rustfmt.toml b/rustfmt.toml new file mode 120000 index 00000000..ee92d9ef --- /dev/null +++ b/rustfmt.toml @@ -0,0 +1 @@ +../../build/soong/scripts/rustfmt.toml
\ No newline at end of file |