mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-06 18:35:19 +00:00
THRIFT-3194 Can't build with go enabled. gomock SCC path incorrect.
Client: Go Patch: Larry Matter <larry.matter@gmail.com> This closes #524
This commit is contained in:
parent
56a03be3f9
commit
8b4700265c
2
.gitignore
vendored
2
.gitignore
vendored
@ -238,7 +238,7 @@ test-driver
|
||||
/test/go/ThriftTest.thrift
|
||||
/test/go/gopath
|
||||
/test/go/pkg/
|
||||
/test/go/src/code.google.com/
|
||||
/test/go/src/github.com/golang/
|
||||
/test/go/src/gen/
|
||||
/test/go/src/thrift
|
||||
/test/haxe/bin
|
||||
|
@ -47,7 +47,7 @@ bin/stress: gopath
|
||||
GOPATH=`pwd` $(GO) install bin/stress
|
||||
|
||||
clean-local:
|
||||
$(RM) -r src/gen src/code.google.com src/thrift bin pkg gopath ThriftTest.thrift
|
||||
$(RM) -r src/gen src/github.com/golang src/thrift bin pkg gopath ThriftTest.thrift
|
||||
|
||||
check_PROGRAMS: bin/testclient bin/testserver bin/stress
|
||||
|
||||
@ -55,7 +55,7 @@ check: gopath
|
||||
GOPATH=`pwd` $(GO) test -v common/...
|
||||
|
||||
genmock: gopath
|
||||
GOPATH=`pwd` $(GO) install code.google.com/p/gomock/mockgen
|
||||
GOPATH=`pwd` $(GO) install github.com/golang/mock/mockgen
|
||||
GOPATH=`pwd` bin/mockgen -destination=src/common/mock_handler.go -package=common gen/thrifttest ThriftTest
|
||||
|
||||
EXTRA_DIST = \
|
||||
|
Loading…
Reference in New Issue
Block a user