2016-12-12 21:23:47 +03:00
|
|
|
.PHONY: build
|
|
|
|
build:
|
|
|
|
go build -o protoc-gen-gotemplate .
|
|
|
|
|
|
|
|
.PHONY: install
|
|
|
|
install:
|
|
|
|
go install .
|
|
|
|
|
|
|
|
.PHONY: test
|
|
|
|
test: build
|
|
|
|
cd examples/dummy && make
|
2017-01-06 13:38:48 +03:00
|
|
|
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-03-16 17:41:09 +03:00
|
|
|
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
|