Archived
d3495476f4
El SDK Release / build-and-release (push) Failing after 13m0s
The generated C, amalgams, vendored runtime pins, and compiled binaries from the Claude Code era are removed from the worktree. The El sources survive; this tree is now source-only for the first-principles rebuild. Per Principal direction 2026-08-19.
17 lines
949 B
Batchfile
17 lines
949 B
Batchfile
bash -c
|
|
echo "INSTRUMENT: cloc 2.10 --force-lang=C (transfer standard, calibrated this session"
|
|
echo " against hand-counted reference; agrees on both fixtures)"
|
|
echo "UNIT: LINE, defined in docs/experiments/instruments/UNITS.md"
|
|
echo "FILE: lang/el-compiler/src/codegen.el"
|
|
echo
|
|
printf "%-11s %-19s %6s %6s %8s %6s\n" commit date blank comment code total
|
|
git log --format="%H %ad" --date=short --reverse -- lang/el-compiler/src/codegen.el | while read sha date; do
|
|
blob=$(git show "$sha:lang/el-compiler/src/codegen.el" 2>/dev/null) || continue
|
|
[ -z "$blob" ] && continue
|
|
t=$(mktemp /tmp/cg-XXXXXX.c); printf "%s\n" "$blob" > "$t"
|
|
row=$(cloc --force-lang=C --quiet --csv "$t" 2>/dev/null | tail -1)
|
|
b=$(echo "$row"|cut -d, -f3); c=$(echo "$row"|cut -d, -f4); k=$(echo "$row"|cut -d, -f5)
|
|
[ -n "$k" ] && printf "%-11s %-19s %6s %6s %8s %6s\n" "${sha:0:9}" "$date" "$b" "$c" "$k" "$((b+c+k))"
|
|
rm -f "$t"
|
|
done
|