aboutsummaryrefslogtreecommitdiff
#!/usr/bin/env bash
set -euo pipefail

filename="$(basename "$path")"
cp "$path" "$filename"
book="${filename%.lisp}"

echo "--- acl2 verify: $book ---"
guix environment --pure --container --ad-hoc acl2 -- acl2 <<< "(CERTIFY-BOOK \"$book\")"
test -f "$book".cert