Skip to content

Commit ac74a77

Browse files
authored
Fix make thrift to succeed when vendor dir does not exist (#330)
1 parent f29fbbd commit ac74a77

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,10 @@ LINT_SRC := $(filter-out ./mock%,$(ALL_SRC))
4444
# all directories with *_test.go files in them
4545
TEST_DIRS := $(sort $(dir $(filter %_test.go,$(ALL_SRC))))
4646

47-
yarpc-install:
47+
vendor:
48+
glide install
49+
50+
yarpc-install: vendor
4851
go get './vendor/go.uber.org/thriftrw'
4952
go get './vendor/go.uber.org/yarpc/encoding/thrift/thriftrw-plugin-yarpc'
5053

0 commit comments

Comments
 (0)