mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
Merge pull request #922 from brendandburns/godep
Add a better error message if godep isn't in the path.
This commit is contained in:
commit
a753372948
@ -23,6 +23,12 @@ if [[ -z "$(which go)" ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [[ -z "$(which godep)" ]]; then
|
||||
echo "Can't find 'godep' in PATH, please fix and retry." >&2
|
||||
echo "See https://github.com/tools/godep#install for installation instructions." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Travis continuous build uses a head go release that doesn't report
|
||||
# a version number, so we skip this check on Travis. Its unnecessary
|
||||
# there anyway.
|
||||
|
Loading…
Reference in New Issue
Block a user