Skip to content

This is a small helper docker image which allows to create cloc based reports and convert them into the sloccount wrapper

License

Notifications You must be signed in to change notification settings

xcnt/cloc-sloccount-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CLOC Sloccount Wrapper

This is a small docker container which can be used in a CI/CD Pipeline to generate cloc and sloccount compatible reports by executing the cloc executable and transforming the report into sloccount.

There does exist a docker container on Docker Hub.

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.

About

This is a small helper docker image which allows to create cloc based reports and convert them into the sloccount wrapper

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published