[#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
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:
parent
dfe9befc4f
commit
01be4470e6
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -14,7 +14,7 @@ PROTOBUF_DIR ?= $(abspath $(BIN))/protobuf
|
||||||
PROTOC_DIR ?= $(PROTOBUF_DIR)/protoc-v$(PROTOC_VERSION)
|
PROTOC_DIR ?= $(PROTOBUF_DIR)/protoc-v$(PROTOC_VERSION)
|
||||||
PROTOC_GEN_GO_DIR ?= $(PROTOBUF_DIR)/protoc-gen-go-$(PROTOC_GEN_GO_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
|
# Pull go dependencies
|
||||||
dep:
|
dep:
|
||||||
|
@ -72,7 +72,7 @@ protoc:
|
||||||
--go-grpc_out=. --go-grpc_opt=paths=source_relative $$f; \
|
--go-grpc_out=. --go-grpc_opt=paths=source_relative $$f; \
|
||||||
done
|
done
|
||||||
|
|
||||||
protogen:
|
$(BIN)/protogen:
|
||||||
@go build -v -trimpath \
|
@go build -v -trimpath \
|
||||||
-o $(BIN)/protogen \
|
-o $(BIN)/protogen \
|
||||||
./util/protogen
|
./util/protogen
|
||||||
|
|
Loading…
Add table
Reference in a new issue