Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

08_count_lines.sh - Count lines of code

Description

Runs cloc over the deposit to count lines of code and comments per language. In 1-populate-from-icpsr it runs in the aldanial/cloc image; w-big-populate-from-icpsr installs cloc first. When cloc is missing, the script exits with an error.

Usage

./automations/08_count_lines.sh <directory> [tag]

Outputs