Skip to content
/ scm-loc Public

This counts the number of source code lines that are inside the given repositories branches

Notifications You must be signed in to change notification settings

rgl/scm-loc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This counts the number of source code lines that are inside the given repositories branches.

Usage

Install dependencies:

python3 -m pip install -r requirements.txt
wget -qO cloc.pl https://github.com/AlDanial/cloc/releases/download/1.88/cloc-1.88.pl

Install extra dependencies on Windows:

choco install -y strawberryperl

See the cloc language definitions:

perl cloc.pl --write-lang-def=cloc-lang-def.txt

Run this tool:

python3 main.py -v loc -o loc.json <<'EOF'
https://github.com/rgl/packer-provisioner-windows-update.git
https://github.com/rgl/dotnet-core-single-file-console-app.git
https://github.com/rgl/tls-dump-clienthello.git
https://github.com/rgl/youtube-converter.git
https://github.com/rgl/PowerShellExporter.git
https://github.com/rgl/debian-live-builder-vagrant.git
https://github.com/go-gitea/gitea.git
EOF
python3 main.py -v csv -i loc.json -o loc.csv
python3 main.py -v html -i loc.json -o loc.html

About

This counts the number of source code lines that are inside the given repositories branches

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published