From 2756c5295b85df9df7a83632ec1be40269fb9d6f Mon Sep 17 00:00:00 2001 From: Ben Johnson Date: Tue, 26 Apr 2016 08:47:19 -0600 Subject: [PATCH] add protobuf/testdata, fix Makefile This commit re-adds the `testdata` folder that godeps strips and also updates the `Makefile` to add a `vendor` target that will handle this in the future. --- Godeps/Godeps.json | 6 +++--- Makefile | 8 +++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/Godeps/Godeps.json b/Godeps/Godeps.json index 80b4f4dc2..f302fa89c 100644 --- a/Godeps/Godeps.json +++ b/Godeps/Godeps.json @@ -1,6 +1,6 @@ { "ImportPath": "github.com/umbel/pilosa", - "GoVersion": "go1.5.1", + "GoVersion": "go1.6.2", "Packages": [ "./..." ], @@ -21,8 +21,8 @@ }, { "ImportPath": "github.com/gogo/protobuf/proto", - "Comment": "v0.2-9-g4365f75", - "Rev": "4365f750fe246471f2a03ef5da5231c3565c5628" + "Comment": "v0.2-10-g74b6e9d", + "Rev": "74b6e9deaff6ba6da1389ec97351d337f0d08b06" }, { "ImportPath": "github.com/golang/groupcache/lru", diff --git a/Makefile b/Makefile index 897276636..8590d3343 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,7 @@ +.PHONY: vendor + default: -# Temporary workaround to avoid testing vendor directory. -test: - go test $(go list ./... | grep -v /vendor/) +vendor: + godep save ./... + cp -r $(GOPATH)/src/github.com/gogo/protobuf/proto/testdata vendor/github.com/gogo/protobuf/proto/testdata