summaryrefslogtreecommitdiff
path: root/tools/format.py
diff options
context:
space:
mode:
authorBert Belder <bertbelder@gmail.com>2018-07-17 22:36:11 +0200
committerBert Belder <bertbelder@gmail.com>2018-07-19 21:55:39 +0200
commit422150c797c57dab130d2efc3105002c44b02480 (patch)
tree49be4b76ec0eb6ae533b11c9945fcd61a7366ba8 /tools/format.py
parentae393879a7a03643075d559bd2773997c84c7ed0 (diff)
Link rust_test targets with external linker, fix handlers_test linkage
Diffstat (limited to 'tools/format.py')
-rwxr-xr-xtools/format.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/format.py b/tools/format.py
index d0d54e314..fc11ced4d 100755
--- a/tools/format.py
+++ b/tools/format.py
@@ -16,7 +16,7 @@ run(["clang-format", "-i", "-style", "Google"] + glob("src/*.cc") +
for fn in ["BUILD.gn", ".gn"] + glob("build_extra/**/*.gn*"):
run(["gn", "format", fn])
# TODO(ry) Install yapf in third_party.
-run(["yapf", "-i"] + glob("tools/*.py"))
+run(["yapf", "-i"] + glob("tools/*.py") + glob("build_extra/**/*.py"))
run(["node", prettier, "--write"] + glob("js/*.js") + glob("js/*.ts") +
["tsconfig.json"] + ["tslint.json"])