Skip to content

Commit 6c4ef72

Browse files
committed
fix: update cloc command to exclude noisy file types and languages
1 parent 750ee1c commit 6c4ef72

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

analyze-code.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
# Run cloc to analyze lines of code, excluding non-source code files
4949
echo "Calculating lines of code..."
5050
mkdir -p ../output
51-
cloc . --exclude-ext=json,html,css,svg,md,py,ps1,scss --json > ../output/cloc-output.json
51+
cloc . --exclude-ext=html,htm,css,json,md,markdown,xml,svg,scss,yaml,toml,csv,txt,yml,sass,lock,log,properties,HTML,HTM,CSS,JSON,MD,MARKDOWN,XML,SVG,SCSS,YAML,TOML,CSV,TXT,YML,SASS,LOCK,LOG,PROPERTIES --exclude-lang=XML,Properties,Maven,Gradle --json > ../output/cloc-output.json
5252
5353
# Commit and push the updated cloc-output.json and README.md to the current branch
5454
- name: Commit and Push Output

0 commit comments

Comments
 (0)