Skip to content

Commit

Permalink
Check if required commands for build are available
Browse files Browse the repository at this point in the history
  • Loading branch information
patschi committed Nov 17, 2019
1 parent e593e0c commit 35c1934
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
# Requirements:
# $ apt install git jq
#
if ! which jq; then echo "Command jq not found. Install it."; exit 1; fi
if ! which git; then echo "Command git not found. Install it."; exit 1; fi

MODE=$1

# check dirty state.
Expand Down

0 comments on commit 35c1934

Please sign in to comment.