Page MenuHomePhabricator

Error out if jq is not installed when fetching docs
ClosedPublic

Authored by jasonbcox on Oct 26 2020, 17:18.

Details

Reviewers
deadalnix
Group Reviewers
Restricted Project
Commits
rABCWEB832c476edd11: Error out if jq is not installed when fetching docs
Summary

While the error message that a particular dependency is usually plain
to see when running this script, this is not necessarily true since we echo and
pipe long strings to jq, resulting in jq: command not found being
above-the-fold in these cases. We can fix this by providing an error message
to the user.

Test Plan
./scripts/fetch_documentation.sh

Diff Detail

Repository
rABCWEB Bitcoin ABC Website
Branch
doc-jq-check
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 13683
Build 27390: arc lint + arc unit