From ecc8514d4bafadc847bc5e2079fd79fc77ceeac1 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Wed, 9 Jun 2021 12:07:24 +0900 Subject: [PATCH] cmd/ebitenmobile: Remove gomobile init `gomobile init` installs gobind at $GOPATH/bin, but this is not needed for ebitenmobile. Updates #1666 --- cmd/ebitenmobile/gomobile.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cmd/ebitenmobile/gomobile.go b/cmd/ebitenmobile/gomobile.go index 7c90dcdc1..e7ecf463b 100644 --- a/cmd/ebitenmobile/gomobile.go +++ b/cmd/ebitenmobile/gomobile.go @@ -137,9 +137,7 @@ func prepareGomobileCommands() error { return err } - if err := runCommand("gomobile", []string{"init"}, nil); err != nil { - return err - } + // `gomobile init` is not needed. This just ensures the existence of the latest gobind command. return nil }