Initial version of a LOC counter class 37/10437/4
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>
Thu, 27 Jul 2017 21:20:19 +0000 (23:20 +0200)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Mon, 14 Aug 2017 08:00:10 +0000 (08:00 +0000)
commit37c55f85ccf941bbbd8b3eae1eb31c596981304b
treecc0a79ad9c7eef9e584a3830dd5b77a03da14631
parent869b6a09b9b656e8be07240106ddebf6a8d402d8
Initial version of a LOC counter class

Usage:
 INHERIT += "cloc"

 cloc --sum-reports `find tmp/work/ -name "*clocreport" | grep -v "\-native"` --out cloc-summary.report

cloc needs to be installed on the host.

Change-Id: I70c7e707405c718b1685d49f4e84216c5408d2fb
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10437
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com>
meta-agl/classes/cloc.bbclass [new file with mode: 0644]