From f5622c573fe63c6f3e4f784bcd8ba6e079ffac81 Mon Sep 17 00:00:00 2001 From: sam boyer Date: Wed, 18 Jan 2017 22:54:39 -0500 Subject: [PATCH] or maybe here --- analysis.go | 5 +++-- appveyor.yml | 1 - 2 files changed, 3 insertions(+), 3 deletions(-) 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