#!/bin/bash
# usage: build.sh <edition>
E=$1; S=/home/claude/grh/short; L=$S/logs
echo "start $(date -u +%FT%TZ)" > $L/$E.timeline
/usr/bin/time -v $S/tools/sbx.sh $S/$E lake build > $L/$E.build.log 2>&1
echo "build exit=$? $(date -u +%FT%TZ)" >> $L/$E.timeline
/usr/bin/time -v $S/tools/sbx.sh $S/$E lake env lean scripts/PrintAxioms.lean > $L/$E.axioms.log 2>&1
echo "axioms exit=$? $(date -u +%FT%TZ)" >> $L/$E.timeline
