mirror of
https://github.com/denoland/deno.git
synced 2024-11-24 15:19:26 -05:00
Move .rustfmt.toml to the repository root
This allows rustfmt to automatically pick it up. It's right there with similar files such as .prettierrc.
This commit is contained in:
parent
526497bc29
commit
394b81de15
2 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ const clangFormat = join("third_party", "depot_tools", "clang-format");
|
||||||
const gn = join("third_party", "depot_tools", "gn");
|
const gn = join("third_party", "depot_tools", "gn");
|
||||||
const yapf = join("third_party", "python_packages", "bin", "yapf");
|
const yapf = join("third_party", "python_packages", "bin", "yapf");
|
||||||
const rustfmt = join("third_party", "rustfmt", deno.platform.os, "rustfmt");
|
const rustfmt = join("third_party", "rustfmt", deno.platform.os, "rustfmt");
|
||||||
const rustfmtConfig = join("tools", "rustfmt.toml");
|
const rustfmtConfig = ".rustfmt.toml";
|
||||||
|
|
||||||
const run = (...args: string[]) => {
|
const run = (...args: string[]) => {
|
||||||
if (deno.platform.os === "win") {
|
if (deno.platform.os === "win") {
|
||||||
|
|
Loading…
Reference in a new issue