Skip to content

Commit a8d4378

Browse files
committed
Makefile: fix vendor targets to glide, add more PHONY
Signed-off-by: Koichi Shiraishi <zchee.io@gmail.com>
1 parent 5b0744e commit a8d4378

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Makefile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,6 @@ export CGO_ENABLED=1
173173

174174
default: build
175175

176-
vendor:
177-
glide install -v
178-
179176
build: bin/docker-machine-driver-xhyve
180177

181178
vendor/github.com/zchee/libhyperkit/mirage_block_ocaml.o:
@@ -206,11 +203,14 @@ test-bindings:
206203
$(VERBOSE) if nm bin/docker-machine-driver-xhyve | grep _camlMirage_block__code_begin >/dev/null 2>&1; then echo 'qcow2'; fi
207204

208205

206+
vendor:
207+
$(VERBOSE) glide install -v
208+
209209
vendor-update:
210-
$(VERBOSE) gvt update -all
210+
$(VERBOSE) glide update
211211

212212
vendor-restore:
213-
$(VERBOSE) gvt restore
213+
$(VERBOSE) glide restore
214214

215215

216216
docker-build:
@@ -244,4 +244,4 @@ test-stop:
244244
test-upgrade:
245245
test-url:
246246

247-
.PHONY: clean run rm kill
247+
.PHONY: clean run rm kill build build-privilege install test test-bindings vendor vendor-update vendor-restore

0 commit comments

Comments
 (0)