LinesOfCode tracks source LOC for
src/**/*.jl and publishes both:
- a trend graph (
.github/metrics/LinesOfCode/loc-history.svg)
using Pkg
Pkg.add("LinesOfCode")Run this once in your project root:
using LinesOfCode
setup!()This creates:
.github/workflows/loc-trend.yml.github/metrics/LinesOfCode/history.csv.github/metrics/LinesOfCode/loc-history.svg
Then commit those files and push to main.
using LinesOfCode
update_metrics!()