1
0
Fork 0
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:
Bert Belder 2019-02-08 19:50:52 -08:00
parent 526497bc29
commit 394b81de15
No known key found for this signature in database
GPG key ID: 7A77887B2E2ED461
2 changed files with 1 additions and 1 deletions

View file

@ -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") {