Use checkstyle to check license headers

NEW
Unassigned

Status

()

2 years ago
2 years ago

People

(Reporter: mcomella, Unassigned)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

nalexander bug 1258769 comment 33:
mcomella: hey, I'd really like this to check our license headers (outside of thirdparty) and test headers (in tests/).  Can that be done?
---

Looks like this is possible:
  http://checkstyle.sourceforge.net/config_header.html

If we have separate headers (e.g. the old sync stuff was under a different license, right?), we may need a separate task, however.
Apparently this can be done with RegexpSingleLine too.
You need to log in before you can comment on or make changes to this bug.