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}"
|
||||
fi
|
||||
|
||||
if [[ -x /usr/bin/dep ]]; then
|
||||
if [ -x /usr/bin/dep ] && [ -f Gopkg.toml ] && [ -f Gopkg.lock ]; then
|
||||
cd "${path}"
|
||||
dep ensure
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue
Block a user