Commit Graph

3 Commits

Author SHA1 Message Date
Artur Harasimiuk 23b6896f5f fix copyright checker
properly handle files starting with #include or #pragma

Change-Id: I89b438ef36d796c2e005bb2241a97bf5e4d9e48c
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-09-21 11:52:26 +02:00
Artur Harasimiuk 803a946e3f cmake: add lint target
This wraps around commands used to format code and exposes them as
single build system target: 'lint'.

Change-Id: Ide88b8f080582221b1832be06fd2fd0f2cd44ab4
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-09-19 16:14:31 +02:00
Artur Harasimiuk 8334d424ba add script to set copyright header for source files
this works for:
- C/C++ files
- files where comment is #

Change include set of simple tests.

Change-Id: I1c08c6c359e2a48957d5d81397c439508ae06c42
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-09-18 19:12:13 +02:00