Skip to content

Commit

Permalink
Makefile: fix vendor targets to glide, add more PHONY
Browse files Browse the repository at this point in the history
Signed-off-by: Koichi Shiraishi <zchee.io@gmail.com>
  • Loading branch information
zchee committed Jul 6, 2017
1 parent 5b0744e commit a8d4378
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,6 @@ export CGO_ENABLED=1

default: build

vendor:
glide install -v

build: bin/docker-machine-driver-xhyve

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


vendor:
$(VERBOSE) glide install -v

vendor-update:
$(VERBOSE) gvt update -all
$(VERBOSE) glide update

vendor-restore:
$(VERBOSE) gvt restore
$(VERBOSE) glide restore


docker-build:
Expand Down Expand Up @@ -244,4 +244,4 @@ test-stop:
test-upgrade:
test-url:

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

0 comments on commit a8d4378

Please sign in to comment.