summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBert Belder <bertbelder@gmail.com>2019-05-14 14:30:56 -0700
committerBert Belder <bertbelder@gmail.com>2019-05-16 19:57:31 -0700
commit6e7ccf0b49bc3d15f48184064d9c2e3eb76b33f7 (patch)
tree13df5974f65b81260529196bfa559afb19e7348a
parent6ab2c350b7ece99e29f3f6fb433e3ec795846dc0 (diff)
tools: format .gn files in the 'cli' directory
-rw-r--r--cli/BUILD.gn7
-rwxr-xr-xtools/format.py2
2 files changed, 4 insertions, 5 deletions
diff --git a/cli/BUILD.gn b/cli/BUILD.gn
index 7f7c6e96f..e4fa98c61 100644
--- a/cli/BUILD.gn
+++ b/cli/BUILD.gn
@@ -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") {
diff --git a/tools/format.py b/tools/format.py
index 8dec2117c..aa7586c5b 100755
--- a/tools/format.py
+++ b/tools/format.py
@@ -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())