##// END OF EJS Templates
hghave: add a check for clang-format...
Augie Fackler -
r34697:15b561ff default
parent child Browse files
Show More
@@ -439,6 +439,11 b' def has_pylint():'
439 br"Usage: pylint",
439 br"Usage: pylint",
440 True)
440 True)
441
441
442 @check("clang-format", "clang-format C code formatter")
443 def has_clang_format():
444 return matchoutput("clang-format --help",
445 r"^OVERVIEW: A tool to format C/C\+\+[^ ]+ code.")
446
442 @check("pygments", "Pygments source highlighting library")
447 @check("pygments", "Pygments source highlighting library")
443 def has_pygments():
448 def has_pygments():
444 try:
449 try:
General Comments 0
You need to be logged in to leave comments. Login now