A cloc builder who puts is output in a cloc.xml and a compatible sloccount.sc
2.2K
This is a small helper docker image which allows to create cloc based reports and convert them into the sloccount wrapper.
Execution:
docker run -v $(pwd):/data xcnt/cloc-sloccount-wrapper:stable --exclude-d vendor .
This will execute the cloc script with the passed parameters and output a "cloc.xml" and a sloccount compatible "sloccount.sc" in the current working directory.
At XCNT this script is used to implement a simple LOC check in the Jenkins pipeline via the SLOCCount Plugin.
Content type
Image
Digest
Size
13.4 MB
Last updated
over 6 years ago
docker pull xcnt/cloc-sloccount-wrapper:stable