21 lines
353 B
Makefile
Raw Normal View History

2016-12-12 19:23:47 +01:00
.PHONY: build
build:
go build -o protoc-gen-gotemplate .
.PHONY: install
install:
go install .
.PHONY: test
test: build
cd examples/dummy && make
cd examples/flow && make
2016-12-20 13:36:25 +01: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