2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-11-16 17:45:09 +00:00
qpdf/build-scripts/prebuild
Jay Berkenbilt 511d70166d Check generated QPDFJob files in CI
This is to catch pull requests that make changes that would affect
automatically generated job files without including those
modifications.
2022-02-08 11:51:15 -05:00

22 lines
545 B
Bash
Executable File

#!/bin/bash
set -e
cd $(dirname $0)/..
if ! ./generate_auto_job --check; then
cat 1>&2 <<EOF
******************************
An input or output file of generate_auto_job was modified without
rerunning ./generate_auto_job. If you are seeing this in your pull
request, you should pass --enable-maintainer-mode to ./configure if
possible, or if not, run "./generate_auto_job --generate" and include
any changed files in your commit.
******************************
EOF
exit 2
fi
build-scripts/build-doc
build-scripts/download-external-libs