restored deleted gcp deployment target
This commit is contained in:
parent
32cab301f9
commit
65309da5fb
13
Makefile
13
Makefile
|
@ -9,8 +9,12 @@ GOVENDOR=$(GOCMD) mod vendor
|
||||||
GOIMAGE=golang:1.13.10
|
GOIMAGE=golang:1.13.10
|
||||||
UPX=upx
|
UPX=upx
|
||||||
|
|
||||||
all: test build
|
all: deps test build
|
||||||
|
|
||||||
|
deps: vendor
|
||||||
|
vendor:
|
||||||
|
$(GOVENDOR)
|
||||||
|
|
||||||
build:
|
build:
|
||||||
$(GOBUILD) -o $(PACKAGE_NAME) -v
|
$(GOBUILD) -o $(PACKAGE_NAME) -v
|
||||||
|
|
||||||
|
@ -43,6 +47,7 @@ run:
|
||||||
$(GOBUILD) -o $(PACKAGE_NAME) -v ./...
|
$(GOBUILD) -o $(PACKAGE_NAME) -v ./...
|
||||||
$(PACKAGE_NAME)
|
$(PACKAGE_NAME)
|
||||||
|
|
||||||
deps: vendor
|
deploy-gcp:
|
||||||
vendor:
|
which gcloud
|
||||||
$(GOVENDOR)
|
gcloud components install app-engine-go
|
||||||
|
gcloud app deploy --quiet
|
Loading…
Reference in New Issue