cmd/gomobile: provide the package name to the go build command.
Change-Id: I9aeb74f24bb19454ee7a7b861690857e9c562c08 Reviewed-on: https://go-review.googlesource.com/4610 Reviewed-by: David Crawshaw <crawshaw@golang.org>
This commit is contained in:
Родитель
593197c0b6
Коммит
5fdd6687da
|
@ -154,6 +154,9 @@ func runBuild(cmd *command) error {
|
||||||
if buildI {
|
if buildI {
|
||||||
gocmd.Args = append(gocmd.Args, "-i")
|
gocmd.Args = append(gocmd.Args, "-i")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gocmd.Args = append(gocmd.Args, pkg.ImportPath)
|
||||||
|
|
||||||
gocmd.Stdout = os.Stdout
|
gocmd.Stdout = os.Stdout
|
||||||
gocmd.Stderr = os.Stderr
|
gocmd.Stderr = os.Stderr
|
||||||
gocmd.Env = []string{
|
gocmd.Env = []string{
|
||||||
|
|
Загрузка…
Ссылка в новой задаче