Commit 724b4e51 authored by Mark Tyneway's avatar Mark Tyneway Committed by GitHub

contracts-bedrock: better error message (#12148)

The build fails when jq is not installed with
a mysterious error message, so improve the error message.
This will help debugging for new contributors.
parent 6b2a3fed
......@@ -5,6 +5,13 @@ CONTRACTS_BASE=$(dirname "$(dirname "$SCRIPT_DIR")")
MONOREPO_BASE=$(dirname "$(dirname "$CONTRACTS_BASE")")
VERSIONS_FILE="${MONOREPO_BASE}/versions.json"
if ! command -v jq &> /dev/null
then
# shellcheck disable=SC2006
echo "Please install jq" >&2
exit 1
fi
if ! command -v forge &> /dev/null
then
# shellcheck disable=SC2006
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment