make sure glide is installed before glide install

If glide is not installed, then $(GLIDE) is empty, so I guess the $(GLIDE)
target gets ignored? The impetus for this is that `make install` was failing on
a fresh ubuntu instance saying glide wasn't found.
This commit is contained in:
Matt Jaffee 2017-06-07 15:03:05 -05:00
parent 757c341195
commit 6b307f32e0

View file

@ -23,6 +23,9 @@ $(GLIDE):
make glide
vendor: $(GLIDE) glide.yaml
ifndef GLIDE
curl https://glide.sh/get | sh
endif
glide install
glide.lock: glide glide.yaml