On 2013-05-27 10:54 PM, Anthony Jones wrote:
A pre-upload check would give the fastest feedback.
It would help me (and those who review my code) if there is an easy way
to check my patches from the command line before doing hg bzexport. Even
if it is only for white space. What we need is a way to specify which
file paths the standard formatting rules apply to. I just need to figure
out how to install clang-format.
The clang-format list tells me that there are near-term plans for a
standalone "clang-tidy" utility built on clang-format that will do much
of what we're looking for as far as basic code-cleanup goes. I'm asking
around about what "near-term" means, and if the answer isn't good enough
I'm going to try to add something to clang-format to give users some
moz-style guidance as a temporary measure.
- mhoye
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform