diff --git a/crypto/spipe/internal/pb/Makefile b/crypto/spipe/internal/pb/Makefile index 7e737b6d8..6d5297c9f 100644 --- a/crypto/spipe/internal/pb/Makefile +++ b/crypto/spipe/internal/pb/Makefile @@ -1,8 +1,8 @@ -all: message.pb.go +all: spipe.pb.go -message.pb.go: message.proto +spipe.pb.go: spipe.proto protoc --gogo_out=. --proto_path=../../../../../:/usr/local/opt/protobuf/include:. $< clean: - rm message.pb.go + rm spipe.pb.go diff --git a/crypto/spipe/internal/pb/message.pb.go b/crypto/spipe/internal/pb/spipe.pb.go similarity index 89% rename from crypto/spipe/internal/pb/message.pb.go rename to crypto/spipe/internal/pb/spipe.pb.go index 32392a576..b1373bab0 100644 --- a/crypto/spipe/internal/pb/message.pb.go +++ b/crypto/spipe/internal/pb/spipe.pb.go @@ -1,26 +1,24 @@ // Code generated by protoc-gen-gogo. -// source: message.proto +// source: spipe.proto // DO NOT EDIT! /* -Package spipe is a generated protocol buffer package. +Package spipe_pb is a generated protocol buffer package. It is generated from these files: - message.proto + spipe.proto It has these top-level messages: Propose Exchange */ -package spipe +package spipe_pb import proto "github.com/jbenet/go-ipfs/Godeps/_workspace/src/code.google.com/p/gogoprotobuf/proto" -import json "encoding/json" import math "math" -// Reference proto, json, and math imports to suppress error if they are not otherwise used. +// Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal -var _ = &json.SyntaxError{} var _ = math.Inf type Propose struct { diff --git a/crypto/spipe/internal/pb/message.proto b/crypto/spipe/internal/pb/spipe.proto similarity index 93% rename from crypto/spipe/internal/pb/message.proto rename to crypto/spipe/internal/pb/spipe.proto index 191dd0b80..a7a467737 100644 --- a/crypto/spipe/internal/pb/message.proto +++ b/crypto/spipe/internal/pb/spipe.proto @@ -1,4 +1,4 @@ -package spipe; +package spipe.pb; message Propose { optional bytes rand = 1;