Merge remote-tracking branch 'blastrock/go-tools-error'
This commit is contained in:
commit
1e4e39ffd2
|
@ -6,9 +6,11 @@
|
||||||
# - jq for json deserializaton
|
# - jq for json deserializaton
|
||||||
|
|
||||||
%sh{
|
%sh{
|
||||||
if ! jq --version > /dev/null 2>&1; then
|
for dep in gocode goimports gogetdoc jq; do
|
||||||
echo 'echo -debug %{Dependency unmet: jq, please install it to use go-tools}'
|
if ! command -v $dep > /dev/null 2>&1; then
|
||||||
|
echo "echo -debug %{Dependency unmet: $dep, please install it to use go-tools}"
|
||||||
fi
|
fi
|
||||||
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
# Auto-completion
|
# Auto-completion
|
||||||
|
|
Loading…
Reference in New Issue
Block a user