[#77] Makefile: Mark protogen as .PHONY
Some checks failed
Tests and linters / Lint (pull_request) Failing after 25s
DCO action / DCO (pull_request) Successful in 38s
Tests and linters / Tests (1.19) (pull_request) Successful in 47s
Tests and linters / Tests (1.20) (pull_request) Successful in 48s
Tests and linters / Tests with -race (pull_request) Successful in 1m3s

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
Evgenii Stratonikov 2024-08-16 17:11:08 +03:00
parent dfe9befc4f
commit 01be4470e6

View file

@ -14,7 +14,7 @@ PROTOBUF_DIR ?= $(abspath $(BIN))/protobuf
PROTOC_DIR ?= $(PROTOBUF_DIR)/protoc-v$(PROTOC_VERSION)
PROTOC_GEN_GO_DIR ?= $(PROTOBUF_DIR)/protoc-gen-go-$(PROTOC_GEN_GO_VERSION)
.PHONY: dep fmts fumpt imports protoc test lint version help
.PHONY: dep fmts fumpt imports protoc test lint version help $(BIN)/protogen protoc-test
# Pull go dependencies
dep:
@ -72,7 +72,7 @@ protoc:
--go-grpc_out=. --go-grpc_opt=paths=source_relative $$f; \
done
protogen:
$(BIN)/protogen:
@go build -v -trimpath \
-o $(BIN)/protogen \
./util/protogen