tools: format .gn files in the 'cli' directory

This commit is contained in:
Bert Belder 2019-05-14 14:30:56 -07:00
parent 6ab2c350b7
commit 6e7ccf0b49
No known key found for this signature in database
GPG Key ID: 7A77887B2E2ED461
2 changed files with 4 additions and 5 deletions

View File

@ -147,9 +147,9 @@ group("deno_deps_cross") {
}
# Reads the cargo info from Cargo.toml
deno_cargo_info = exec_script(
"../build_extra/rust/get_cargo_info.py",
[ rebase_path("Cargo.toml", root_build_dir) ], "json")
deno_cargo_info = exec_script("../build_extra/rust/get_cargo_info.py",
[ rebase_path("Cargo.toml", root_build_dir) ],
"json")
rust_executable("deno") {
source_root = "main.rs"
@ -181,7 +181,6 @@ rust_test("cli_test") {
]
}
# Generates the core TypeScript type library for deno that will be
# included in the runtime bundle
run_node("deno_runtime_declaration") {

View File

@ -24,7 +24,7 @@ qrun([clang_format_path, "-i", "-style", "Google"] +
find_exts(["core"], [".cc", ".h"]))
print "gn format"
for fn in ["BUILD.gn", ".gn"] + find_exts(["build_extra", "core"],
for fn in ["BUILD.gn", ".gn"] + find_exts(["build_extra", "cli", "core"],
[".gn", ".gni"]):
qrun(["third_party/depot_tools/gn", "format", fn], env=google_env())