D6873: examples: add sample fix integration for `rustfmt`
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Tue Sep 24 10:42:37 EDT 2019
Closed by commit rHGf5ad85dd5f7e: examples: add sample fix integration for `rustfmt` (authored by durin42).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D6873?vs=16597&id=16599
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D6873/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D6873
AFFECTED FILES
contrib/examples/fix.hgrc
CHANGE DETAILS
diff --git a/contrib/examples/fix.hgrc b/contrib/examples/fix.hgrc
--- a/contrib/examples/fix.hgrc
+++ b/contrib/examples/fix.hgrc
@@ -1,3 +1,6 @@
[fix]
clang-format:command = clang-format --style file -i
clang-format:pattern = (**.c or **.cc or **.h) and not "listfile:contrib/clang-format-ignorelist"
+
+rustfmt:command = rustfmt {rootpath}
+rustfmt:pattern = set:**.rs
To: durin42, #hg-reviewers, pulkit
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list