From 6422285aab1dbf6677cb60fe45556d2f36897506 Mon Sep 17 00:00:00 2001 From: Sebastien Binet Date: Wed, 2 Sep 2015 17:13:33 +0200 Subject: [PATCH] gopy: run go-get on package to wrap to handle deps Change-Id: If030e5c4bab1401227e2e826c80b61d3053ad743 --- cmd_bind.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd_bind.go b/cmd_bind.go index cb5c30a..7a7db8e 100644 --- a/cmd_bind.go +++ b/cmd_bind.go @@ -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