Initial version of a LOC counter class 43/10643/2
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>
Thu, 27 Jul 2017 21:20:19 +0000 (23:20 +0200)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Wed, 16 Aug 2017 03:54:59 +0000 (03:54 +0000)
commit203d066aa84d5f79ed9a16b855ba120ba02ae1e7
tree3566000d90ea886becae2b1b668e767a31d754a8
parentbe442e7411b197a6dda904ee7b5f361f5679e44c
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>
(cherry picked from commit 37c55f85ccf941bbbd8b3eae1eb31c596981304b)
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10643
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
meta-agl/classes/cloc.bbclass [new file with mode: 0644]