27 lines
534 B
Makefile
Raw Normal View History

2016-12-12 19:23:47 +01:00
.PHONY: build
build:
go build -v -i -o protoc-gen-gotemplate .
2016-12-12 19:23:47 +01:00
.PHONY: install
install:
go install .
.PHONY: test
test: install
2017-05-01 23:55:55 +02:00
cd examples/import && make
2016-12-12 19:23:47 +01:00
cd examples/dummy && make
cd examples/flow && make
2017-03-16 15:41:09 +01:00
cd examples/concat && make
cd examples/flow && make
2017-03-16 17:47:54 +01:00
cd examples/sitemap && make
2017-04-24 09:20:30 +02:00
cd examples/go-generate && make
# cd examples/go-kit && 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