diff options
author | Zahoor Mohamed <zahoor@zahoor.in> | 2017-03-23 21:56:06 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2017-03-23 21:56:06 +0800 |
commit | 11e7a712f469fb24ddb88ecebcefab6ed8880eb8 (patch) | |
tree | c052776c80475767eb7a038bef99ff784b071ef7 /build | |
parent | 61d2150a0750a554250c3bf090ef994be6c060f0 (diff) | |
download | go-tangerine-11e7a712f469fb24ddb88ecebcefab6ed8880eb8.tar go-tangerine-11e7a712f469fb24ddb88ecebcefab6ed8880eb8.tar.gz go-tangerine-11e7a712f469fb24ddb88ecebcefab6ed8880eb8.tar.bz2 go-tangerine-11e7a712f469fb24ddb88ecebcefab6ed8880eb8.tar.lz go-tangerine-11e7a712f469fb24ddb88ecebcefab6ed8880eb8.tar.xz go-tangerine-11e7a712f469fb24ddb88ecebcefab6ed8880eb8.tar.zst go-tangerine-11e7a712f469fb24ddb88ecebcefab6ed8880eb8.zip |
swarm/api: support mounting manifests via FUSE (#3690)
Diffstat (limited to 'build')
-rw-r--r-- | build/ci.go | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/build/ci.go b/build/ci.go index cb9c7a335..27589fc7f 100644 --- a/build/ci.go +++ b/build/ci.go @@ -173,6 +173,20 @@ func doInstall(cmdline []string) { if flag.NArg() > 0 { packages = flag.Args() } + + // Resolve ./... manually and remove vendor/bazil/fuse (fuse is not in windows) + out, err := goTool("list", "./...").CombinedOutput() + if err != nil { + log.Fatalf("package listing failed: %v\n%s", err, string(out)) + } + packages = []string{} + for _, line := range strings.Split(string(out), "\n") { + if !strings.Contains(line, "vendor") { + packages = append(packages, strings.TrimSpace(line)) + } + } + + if *arch == "" || *arch == runtime.GOARCH { goinstall := goTool("install", buildFlags(env)...) goinstall.Args = append(goinstall.Args, "-v") |