goprotobuf: start making it build with the go tool instead of make.
Work in progress.
This is sufficient to build, install, and test the proto library, and
to build and install the compiler plugin.
The tests for the plugin are disabled; they will require major work in a separate CL.
The compiler directory is now called protoc-gen-go so the binary has the right name.
The test.pb.go file for the proto tests is now checked in, for simplicity.
R=golang-dev, dsymonds
CC=golang-dev
http://codereview.appspot.com/5645087
diff --git a/proto/text_test.go b/proto/text_test.go
index 18c0a5f..4e76f78 100644
--- a/proto/text_test.go
+++ b/proto/text_test.go
@@ -38,7 +38,7 @@
"code.google.com/p/goprotobuf/proto"
- pb "./testdata/_obj/test_proto"
+ pb "code.google.com/p/goprotobuf/proto/testdata"
)
func newTestMessage() *pb.MyMessage {
@@ -123,7 +123,7 @@
}
/* 2 unknown bytes */
tag13: 4
-[test_proto.Ext.more]: <
+[testdata.Ext.more]: <
data: "Big gobs for big rats"
>
/* 13 unknown bytes */