build-style: check for Gopkg.{toml,lock} in go
This commit is contained in:
parent
f0a208c071
commit
34a5df059d
|
@ -9,7 +9,7 @@ do_build() {
|
||||||
ln -fs $PWD "${path}"
|
ln -fs $PWD "${path}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -x /usr/bin/dep ]]; then
|
if [ -x /usr/bin/dep ] && [ -f Gopkg.toml ] && [ -f Gopkg.lock ]; then
|
||||||
cd "${path}"
|
cd "${path}"
|
||||||
dep ensure
|
dep ensure
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user