gopy: run go-get on package to wrap to handle deps

Change-Id: If030e5c4bab1401227e2e826c80b61d3053ad743
This commit is contained in:
Sebastien Binet 2015-09-02 17:13:33 +02:00
parent 998c78c822
commit 6422285aab
1 changed files with 3 additions and 3 deletions

View File

@ -79,11 +79,11 @@ func gopyRunCmdBind(cmdr *commander.Command, args []string) error {
)
}
// install it first to tickle the GOPATH cache
// go-get it to tickle the GOPATH cache (and make sure it compiles
// correctly)
cmd := exec.Command(
"go", "install", "-buildmode=c-shared",
"go", "get", "-buildmode=c-shared",
pkg.ImportPath(),
//".",
)
cmd.Stdin = os.Stdin
cmd.Stdout = os.Stdout