diff --git a/Makefile b/Makefile index 042e081..4896857 100644 --- a/Makefile +++ b/Makefile @@ -9,8 +9,12 @@ GOVENDOR=$(GOCMD) mod vendor GOIMAGE=golang:1.13.10 UPX=upx -all: test build +all: deps test build +deps: vendor +vendor: + $(GOVENDOR) + build: $(GOBUILD) -o $(PACKAGE_NAME) -v @@ -43,6 +47,7 @@ run: $(GOBUILD) -o $(PACKAGE_NAME) -v ./... $(PACKAGE_NAME) -deps: vendor -vendor: - $(GOVENDOR) \ No newline at end of file +deploy-gcp: + which gcloud + gcloud components install app-engine-go + gcloud app deploy --quiet \ No newline at end of file