2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-11-16 09:37:08 +00:00
qpdf/build-scripts/prebuild

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
632 B
Plaintext
Raw Normal View History

2020-10-16 17:14:10 +00:00
#!/bin/bash
set -e
cd $(dirname $0)/..
token=$1
if [ "$token" = "" ]; then
echo 1>&2 "Usage: $0 github-token"
exit 2
fi
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 -DMAINTAINER_MODE=1 to cmake 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 $token