mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
cmd/ebitenmobile: bug fix: failed to resolve dependencies
Something was changed by updating gomobile (76ac6878050a2eef81867f2c6c21108e59919e8f), and an additional go-mod-tidy is now required. Closes #2887
This commit is contained in:
parent
2c967dd24e
commit
3be6c78e85
@ -191,6 +191,10 @@ import (
|
|||||||
return tmp, err
|
return tmp, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// The newly added Go files like gobind.go might add new dependencies.
|
||||||
|
if err := runGo("mod", "tidy"); err != nil {
|
||||||
|
return tmp, err
|
||||||
|
}
|
||||||
if err := runGo("build", "-o", exe(filepath.Join("bin", "gobind")), "-tags", "ebitenmobilegobind", filepath.Join("src", "gobind.go")); err != nil {
|
if err := runGo("build", "-o", exe(filepath.Join("bin", "gobind")), "-tags", "ebitenmobilegobind", filepath.Join("src", "gobind.go")); err != nil {
|
||||||
return tmp, err
|
return tmp, err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user