1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-26 17:19:06 -05:00

tools/format: fix clang-format glob pattern

This commit is contained in:
Bert Belder 2018-08-26 01:36:21 +02:00
parent 17d6d6b336
commit 4747f50f52
No known key found for this signature in database
GPG key ID: 7A77887B2E2ED461

View file

@ -13,7 +13,7 @@ rustfmt_config = os.path.join(tools_path, "rustfmt.toml")
os.chdir(root_path)
run([clang_format_path, "-i", "-style", "Google"] +
find_exts("src", ".cc", ".h"))
find_exts("libdeno", ".cc", ".h"))
for fn in ["BUILD.gn", ".gn"] + find_exts("build_extra", ".gn", ".gni"):
run(["third_party/depot_tools/gn", "format", fn], env=google_env())