From e0807917878f95b564201c4d465c9b89c8ae49c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoffer=20=C3=85str=C3=B6m?= Date: Thu, 2 Sep 2021 19:24:28 +0200 Subject: [PATCH] chore(gomu): tweak `makefile` template (#2238) --- cmd/gomu/cmd/cli/new/template/makefile.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/cmd/gomu/cmd/cli/new/template/makefile.go b/cmd/gomu/cmd/cli/new/template/makefile.go index 5c42aba5..26508e71 100644 --- a/cmd/gomu/cmd/cli/new/template/makefile.go +++ b/cmd/gomu/cmd/cli/new/template/makefile.go @@ -5,27 +5,27 @@ var Makefile = `GOPATH:=$(shell go env GOPATH) .PHONY: init init: - go get -u google.golang.org/protobuf/proto - go install github.com/golang/protobuf/protoc-gen-go@latest - go install github.com/asim/go-micro/cmd/protoc-gen-micro/v3@latest + @go get -u google.golang.org/protobuf/proto + @go install github.com/golang/protobuf/protoc-gen-go@latest + @go install github.com/asim/go-micro/cmd/protoc-gen-micro/v3@latest .PHONY: proto proto: - protoc --proto_path=. --micro_out=. --go_out=:. proto/{{.Alias}}.proto + @protoc --proto_path=. --micro_out=. --go_out=:. proto/{{.Alias}}.proto .PHONY: tidy tidy: - go mod tidy + @go mod tidy .PHONY: build build: - go build -o {{.Alias}} *.go + @go build -o {{.Alias}} *.go .PHONY: test test: - go test -v ./... -cover + @go test -v ./... -cover .PHONY: docker docker: - docker build -t {{.Alias}}:latest . + @docker build -t {{.Alias}}:latest . `