From 12e595d56754dc9c4ccf7c62741cab31e01d460a Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Sat, 23 Aug 2014 20:24:54 -0700 Subject: [PATCH] Move pkg/depcheck up a level so it's not caught by our fmt checks. gofmt barfs on it. Change-Id: I9522d5036f75737d32b46684c894648a41e1cd82 --- {pkg/depcheck => depcheck}/depcheck.go | 0 {pkg/depcheck => depcheck}/min_go_version.go | 0 make.go | 2 +- pkg/blob/ref.go | 2 +- 4 files changed, 2 insertions(+), 2 deletions(-) rename {pkg/depcheck => depcheck}/depcheck.go (100%) rename {pkg/depcheck => depcheck}/min_go_version.go (100%) diff --git a/pkg/depcheck/depcheck.go b/depcheck/depcheck.go similarity index 100% rename from pkg/depcheck/depcheck.go rename to depcheck/depcheck.go diff --git a/pkg/depcheck/min_go_version.go b/depcheck/min_go_version.go similarity index 100% rename from pkg/depcheck/min_go_version.go rename to depcheck/min_go_version.go diff --git a/make.go b/make.go index cffefec3a..0902ea182 100644 --- a/make.go +++ b/make.go @@ -270,7 +270,7 @@ func mirror(sql bool) (latestSrcMod time.Time) { } // We copy all *.go files from camRoot's goDirs to buildSrcDir. - goDirs := []string{"app", "cmd", "pkg", "dev", "server/camlistored", "third_party"} + goDirs := []string{"app", "cmd", "depcheck", "pkg", "dev", "server/camlistored", "third_party"} if *onlysync { goDirs = append(goDirs, "server/appengine", "config") } diff --git a/pkg/blob/ref.go b/pkg/blob/ref.go index 444a1f105..46fa3d52e 100644 --- a/pkg/blob/ref.go +++ b/pkg/blob/ref.go @@ -30,7 +30,7 @@ import ( // This is a pretty low-level package, so add the Go minimum // version dependency check here at least. This avoids // adding it in many other places. - _ "camlistore.org/pkg/depcheck" + _ "camlistore.org/depcheck" ) // Pattern is the regular expression which matches a blobref.