From 198e396eadad704e96c9f37e24effc89a904f570 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Wed, 31 Oct 2018 11:11:10 -0700 Subject: 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. --- tools/format.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/format.py') 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"])) -- cgit v1.2.3