mirror of https://github.com/docker/docs.git
Change godep command call to use the GODEP variable
Signed-off-by: Kazumichi Yamamoto <yamamoto.febc@gmail.com>
This commit is contained in:
parent
d8d57b845d
commit
3363a49ffc
|
@ -1,9 +1,9 @@
|
||||||
dep-save:
|
dep-save:
|
||||||
$(if $(GODEP), , \
|
$(if $(GODEP), , \
|
||||||
$(error Please install godep: go get github.com/tools/godep))
|
$(error Please install godep: go get github.com/tools/godep))
|
||||||
godep save $(shell go list ./... | grep -v vendor/)
|
$(GODEP) save $(shell go list ./... | grep -v vendor/)
|
||||||
|
|
||||||
dep-restore:
|
dep-restore:
|
||||||
$(if $(GODEP), , \
|
$(if $(GODEP), , \
|
||||||
$(error Please install godep: go get github.com/tools/godep))
|
$(error Please install godep: go get github.com/tools/godep))
|
||||||
godep restore -v
|
$(GODEP) restore -v
|
||||||
|
|
Loading…
Reference in New Issue