##// END OF EJS Templates
examples: specify rustfmt nightly using a $() construct...
Augie Fackler -
r44526:5e0505d3 default
parent child Browse files
Show More
@@ -1,14 +1,14 b''
1 1 [fix]
2 2 clang-format:command = clang-format --style file
3 3 clang-format:pattern = set:(**.c or **.cc or **.h) and not "include:contrib/clang-format-ignorelist"
4 4
5 rustfmt:command = rustfmt
5 rustfmt:command = $(rustup which --toolchain nightly rustfmt)
6 6 rustfmt:pattern = set:**.rs
7 7
8 8 black:command = black --config=black.toml -
9 9 black:pattern = set:**.py - mercurial/thirdparty/** - "contrib/python-zstandard/**"
10 10
11 11 # Mercurial doesn't have any Go code, but if we did this is how we
12 12 # would configure `hg fix` for Go:
13 13 go:command = gofmt
14 14 go:pattern = set:**.go
General Comments 0
You need to be logged in to leave comments. Login now