protoc-gen-go-micro/Makefile

37 lines
791 B
Makefile
Raw Normal View History

2016-12-12 21:23:47 +03:00
.PHONY: build
build:
go build -v -i -o protoc-gen-gotemplate .
2016-12-12 21:23:47 +03:00
.PHONY: install
install:
go install .
2017-10-26 17:48:58 +03:00
go install ./cmd/web-editor
2016-12-12 21:23:47 +03:00
.PHONY: test
test: install
2017-06-08 17:40:52 +03:00
cd examples/time && make
2017-05-12 21:46:18 +03:00
cd examples/enum && make
2017-05-02 00:55:55 +03:00
cd examples/import && make
2016-12-12 21:23:47 +03:00
cd examples/dummy && make
cd examples/flow && make
2017-03-16 17:41:09 +03:00
cd examples/concat && make
cd examples/flow && make
2017-03-16 19:47:54 +03:00
cd examples/sitemap && make
2017-04-24 10:20:30 +03:00
cd examples/go-generate && make
# cd examples/single-package-mode && make
2017-12-19 17:55:33 +03:00
cd examples/helpers && make
2018-03-21 16:41:40 +03:00
cd examples/arithmetics && make
# cd examples/go-kit && make
2016-12-20 15:36:25 +03:00
.PHONY: docker.build
docker.build:
docker build --pull -t moul/protoc-gen-gotemplate .
.PHONY: docker.push
docker.push: docker.build
docker push moul/protoc-gen-gotemplate
2017-12-25 11:17:09 +03:00
.PHONY: lint
lint:
2019-01-20 08:58:14 +03:00
golangci-lint run --verbose . ./helpers ./cmd/...