Skip to content

Commit

Permalink
add: check that the gcloud SDK is installed
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexisVLRT committed May 20, 2021
1 parent deb466c commit fa5ad79
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bin/check_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,10 @@ then
echo "It seems you do not have 'make' installed. Install it and make sure it's in your path then try again."
fi

if ! gcloud -v 1>/dev/null;
then
CODE=1
echo "It seems you do not have 'gcloud' installed. Install it and make sure it's in your path then try again."
fi

exit "$CODE"

0 comments on commit fa5ad79

Please sign in to comment.