Add Coala Bear for the license header check.
Reviewed By: Itms
Differential Revision: https://code.wildfiregames.com/D404
Is it intended that the Vulcan marks diffs with a wrong year in the header as "build failed"? It seems more like a lint warning.
Edit: Seems to be the case that it warns only, I thought I had seen it in a revision proposal.
Might want to use this one instead though https://github.com/coala/coala-bears/blob/559c953e1b5787df9dddf96ece8449e50c945716/bears/general/LicenseHeaderBear.py
Index: LicenseYearBear.py =================================================================== --- LicenseYearBear.py (revision 23262) +++ LicenseYearBear.py (working copy) @@ -38,7 +38,7 @@ modification_year = self.get_last_modification(filename) if not modification_year: return - license_regexp = compile('/\* Copyright \([cC]?\) ([\d]+) Wildfire Games') + license_regexp = compile(r'/\* Copyright \([cC]?\) ([\d]+) Wildfire Games') for line_number, line in enumerate(file): match = license_regexp.search(line)