Describe install steps with go get
This commit is contained in:
parent
f10ed29285
commit
05e709c48d
4
Makefile
4
Makefile
@ -6,7 +6,7 @@ GOGET=$(GOCMD) get
|
|||||||
BINARY_NAME=velux-cli
|
BINARY_NAME=velux-cli
|
||||||
|
|
||||||
all: build
|
all: build
|
||||||
build:
|
build: genclient
|
||||||
$(GOBUILD) -o $(BINARY_NAME) -v
|
$(GOBUILD) -o $(BINARY_NAME) -v
|
||||||
|
|
||||||
fmt:
|
fmt:
|
||||||
@ -23,5 +23,5 @@ deps:
|
|||||||
$(GOGET) github.com/go-openapi/runtime/client
|
$(GOGET) github.com/go-openapi/runtime/client
|
||||||
$(GOGET) github.com/go-openapi/strfmt
|
$(GOGET) github.com/go-openapi/strfmt
|
||||||
|
|
||||||
genclient:
|
genclient: deps
|
||||||
../../../../bin/swagger generate client -f ./swagger.yaml
|
../../../../bin/swagger generate client -f ./swagger.yaml
|
||||||
|
Loading…
x
Reference in New Issue
Block a user