preserves/git-hooks/pre-commit

11 lines
286 B
Plaintext
Raw Normal View History

#!/bin/sh
2021-06-04 13:52:32 +00:00
set -e
exec 1>&2
# Ensure that various copies of schema.prs are in fact identical.
cmp schema/schema.prs implementations/racket/preserves/preserves-schema/schema.prs
# Likewise for samples.pr
cmp tests/samples.pr implementations/racket/preserves/preserves/tests/samples.pr