We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7dcdfa commit 7a67cc6Copy full SHA for 7a67cc6
Makefile
@@ -94,7 +94,12 @@ proto-go: $(PROTO_FILES) $(BIN)/$(PROTOC_VERSION_BIN) $(BIN)/protoc-gen-gogofast
94
@rm -r $(PROTO_GO_OUT)/uber
95
96
thriftlint:
97
- $(foreach thrift_file,$(THRIFT_FILES),$(shell thrift -o /tmp --gen go $(thrift_file)))
+ @for file in $(THRIFT_FILES); do \
98
+ if ! thrift --gen go "$$file"; then \
99
+ echo "FAILED: $$file"; \
100
+ exit 1; \
101
+ fi; \
102
+ done
103
104
all: proto-lint proto-go
105
0 commit comments