view contrib/examples/fix.hgrc @ 42966:f5ad85dd5f7e

examples: add sample fix integration for `rustfmt` Differential Revision: https://phab.mercurial-scm.org/D6873
author Augie Fackler <augie@google.com>
date Mon, 20 May 2019 14:37:38 -0400
parents 5dfb57af1148
children 31c1a5376745
line wrap: on
line source

[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