mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -05:00
Remove RUSTFMT_FLAGS
This commit is contained in:
parent
51380bf399
commit
038c5f0727
1 changed files with 1 additions and 6 deletions
|
@ -25,10 +25,5 @@ run(["yapf", "-i"] + find_exts("tools/", ".py") +
|
||||||
run(["node", prettier, "--write"] + find_exts("js/", ".js", ".ts") +
|
run(["node", prettier, "--write"] + find_exts("js/", ".js", ".ts") +
|
||||||
["rollup.config.js", "tsconfig.json", "tslint.json"])
|
["rollup.config.js", "tsconfig.json", "tslint.json"])
|
||||||
|
|
||||||
# Set RUSTFMT_FLAGS for extra flags.
|
|
||||||
rustfmt_extra_args = []
|
|
||||||
if 'RUSTFMT_FLAGS' in os.environ:
|
|
||||||
rustfmt_extra_args += os.environ['RUSTFMT_FLAGS'].split()
|
|
||||||
# Requires rustfmt 0.8.2 (flags were different in previous versions)
|
# Requires rustfmt 0.8.2 (flags were different in previous versions)
|
||||||
run(["rustfmt", "--config-path", rustfmt_config] + rustfmt_extra_args +
|
run(["rustfmt", "--config-path", rustfmt_config] + find_exts("src/", ".rs"))
|
||||||
find_exts("src/", ".rs"))
|
|
||||||
|
|
Loading…
Reference in a new issue