From 6b307f32e0b933b93fa3da650a71a6b36785f766 Mon Sep 17 00:00:00 2001 From: Matt Jaffee Date: Wed, 7 Jun 2017 15:03:05 -0500 Subject: [PATCH] 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. --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 563059137..ca672df1c 100644 --- a/Makefile +++ b/Makefile @@ -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