preserves/git-hooks/pre-commit

11 lines
286 B
Bash
Executable File

#!/bin/sh
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