mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +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.
This commit is contained in:
parent
9fe6f1e62c
commit
d6439c9e6c
@ -191,6 +191,10 @@ import (
|
||||
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 {
|
||||
return tmp, err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user