mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
cmd/ebitenmobile: remove GO111MODULE usage
GO111MODULE is on by default as of Go 1.16. Closes #2276
This commit is contained in:
parent
18fa00d25d
commit
f1040d0507
@ -62,12 +62,7 @@ func removeAll(path string) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func runGo(args ...string) error {
|
func runGo(args ...string) error {
|
||||||
// TODO: Remove this after Ebitengine drops the support of Go 1.15 and older.
|
return runCommand("go", args, nil)
|
||||||
// GO111MODULE is on by default as of Go 1.16.
|
|
||||||
env := []string{
|
|
||||||
"GO111MODULE=on",
|
|
||||||
}
|
|
||||||
return runCommand("go", args, env)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// exe adds the .exe extension to the given filename.
|
// exe adds the .exe extension to the given filename.
|
||||||
|
Loading…
Reference in New Issue
Block a user