Move pkg/depcheck up a level so it's not caught by our fmt checks.

gofmt barfs on it.

Change-Id: I9522d5036f75737d32b46684c894648a41e1cd82
This commit is contained in:
Brad Fitzpatrick 2014-08-23 20:24:54 -07:00
parent 1602a098f6
commit 12e595d567
4 changed files with 2 additions and 2 deletions

View File

@ -270,7 +270,7 @@ func mirror(sql bool) (latestSrcMod time.Time) {
} }
// We copy all *.go files from camRoot's goDirs to buildSrcDir. // 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 { if *onlysync {
goDirs = append(goDirs, "server/appengine", "config") goDirs = append(goDirs, "server/appengine", "config")
} }

View File

@ -30,7 +30,7 @@ import (
// This is a pretty low-level package, so add the Go minimum // This is a pretty low-level package, so add the Go minimum
// version dependency check here at least. This avoids // version dependency check here at least. This avoids
// adding it in many other places. // adding it in many other places.
_ "camlistore.org/pkg/depcheck" _ "camlistore.org/depcheck"
) )
// Pattern is the regular expression which matches a blobref. // Pattern is the regular expression which matches a blobref.