Permalink
Browse files

Publish the updated line counts for the parser and runtime.

  • Loading branch information...
Andy Chu
Andy Chu committed Jan 12, 2018
1 parent 4d3cd87 commit ad5fd9d4cd5b368821d617b8714ff8c6ed5e66fe
Showing with 9 additions and 3 deletions.
  1. +9 −3 scripts/release.sh
View
@@ -433,7 +433,7 @@ metrics-index() {
<h3>Line Counts</h3>
<p>
EOF
find $out -name '*.txt' -a -printf '<a href="%P">%P</a> <br/>'
find $out -name '*.txt' -a -printf '<a href="%P">%P</a> <br/>\n'
cat <<EOF
</p>
</body>
@@ -445,11 +445,17 @@ line-counts() {
local out=_tmp/metrics/line-counts
mkdir -p $out
# Metrics. TODO: It would be nicer to make this structured data somehow.
scripts/count.sh all > $out/src.txt # Count repo lines
# Counting directly from the build.
build/metrics.sh linecount-pydeps > $out/pydeps.txt
build/metrics.sh linecount-nativedeps > $out/nativedeps.txt
# My arbitrrary categorization.
scripts/count.sh all > $out/src.txt # Count repo lines
# A couple other categorizations.
scripts/count.sh parser > $out/parser.txt
scripts/count.sh runtime > $out/runtime.txt
metrics-index > $out/index.html
tree $out
}

0 comments on commit ad5fd9d

Please sign in to comment.