* cleanup

* cleanup go mod

* Remove doc generation

* add no integration test

* fix broken test

* rename workflow
This commit is contained in:
Asim Aslam
2021-05-17 13:01:13 +01:00
committed by GitHub
parent 0afdc8a369
commit cecabe336f
147 changed files with 8 additions and 10373 deletions

View File

@@ -1,27 +0,0 @@
GOPATH:=$(shell go env GOPATH)
MODIFY=Mgithub.com/micro/micro/proto/api/api.proto=github.com/micro/micro/v3/proto/api
.PHONY: proto
proto:
protoc --openapi_out=. --proto_path=. --micro_out=${MODIFY}:. --go_out=${MODIFY}:. proto/comments.proto
.PHONY: docs
docs:
protoc --openapi_out=. --proto_path=. --micro_out=${MODIFY}:. --go_out=${MODIFY}:. proto/comments.proto
@redoc-cli bundle api-comments.json
.PHONY: build
build: proto
go build -o comments-service *.go
.PHONY: test
test:
go test -v ./... -cover
.PHONY: docker
docker:
docker build . -t comments-service:latest