##// 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 [fix]
1 [fix]
2 clang-format:command = clang-format --style file
2 clang-format:command = clang-format --style file
3 clang-format:pattern = set:(**.c or **.cc or **.h) and not "include:contrib/clang-format-ignorelist"
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 rustfmt:pattern = set:**.rs
6 rustfmt:pattern = set:**.rs
7
7
8 black:command = black --config=black.toml -
8 black:command = black --config=black.toml -
9 black:pattern = set:**.py - mercurial/thirdparty/** - "contrib/python-zstandard/**"
9 black:pattern = set:**.py - mercurial/thirdparty/** - "contrib/python-zstandard/**"
10
10
11 # Mercurial doesn't have any Go code, but if we did this is how we
11 # Mercurial doesn't have any Go code, but if we did this is how we
12 # would configure `hg fix` for Go:
12 # would configure `hg fix` for Go:
13 go:command = gofmt
13 go:command = gofmt
14 go:pattern = set:**.go
14 go:pattern = set:**.go
General Comments 0
You need to be logged in to leave comments. Login now