21 lines
356 B
Makefile
21 lines
356 B
Makefile
.PHONY: build
|
|
build:
|
|
go build -o protoc-gen-gotemplate .
|
|
|
|
.PHONY: install
|
|
install:
|
|
go install .
|
|
|
|
.PHONY: test
|
|
test: build
|
|
cd examples/dummy && make
|
|
cd examples/js-grpc && make
|
|
|
|
.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
|