diff --git a/analysis.go b/analysis.go index b0a563e..712798c 100644 --- a/analysis.go +++ b/analysis.go @@ -149,8 +149,8 @@ func ListPackages(fileRoot, importRoot string) (PackageTree, error) { return filepath.SkipDir } - // Compute the import path. Run the result through ToSlash(), so that windows - // paths are normalized to Unix separators, as import paths are expected + // Compute the import path. Run the result through ToSlash(), so that + // windows paths are normalized to slashes, as import paths are expected // to be. ip := filepath.ToSlash(filepath.Join(importRoot, strings.TrimPrefix(path, fileRoot))) @@ -541,6 +541,7 @@ func (t PackageTree) ExternalReach(main, tests bool, ignore map[string]bool) Rea continue } + fmt.Println("BITS", filepath.Clean(imp), t.ImportRoot) if !checkPrefixSlash(filepath.Clean(imp), t.ImportRoot) { w.ex[imp] = true } else { diff --git a/appveyor.yml b/appveyor.yml index 8c6b1fd..a1c3f87 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -12,7 +12,6 @@ platform: install: - go version - go env - - choco install bzr - set PATH=C:\Program Files (x86)\Bazaar\;C:\Program Files\Mercurial\;%PATH% build_script: - go get github.com/Masterminds/glide