summaryrefslogtreecommitdiff
path: root/tools/format.py
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-10-31 11:11:10 -0700
committerGitHub <noreply@github.com>2018-10-31 11:11:10 -0700
commit198e396eadad704e96c9f37e24effc89a904f570 (patch)
treed07bd792de9023196a95374ead0520e54995dbc2 /tools/format.py
parent21dac6646552dcacb68a0ad167723976f27b5c47 (diff)
Support cargo check (#1128)
- Based on code from @qti3e and @piscisaureus in #724 and #1125 respectively. - TODO The DENO_BUILD_PATH env var must be supplied and must be an absolute path, this restriction should be removed in future work.
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 845e96228..d1e8753d8 100755
--- a/tools/format.py
+++ b/tools/format.py
@@ -45,5 +45,5 @@ qrun(["node", prettier, "--write", "--loglevel=error"] + ["rollup.config.js"] +
print "rustfmt"
qrun([
"third_party/rustfmt/" + platform() +
- "/rustfmt", "--config-path", rustfmt_config
+ "/rustfmt", "--config-path", rustfmt_config, "build.rs"
] + find_exts(["src"], [".rs"]))