cmd/ebitenmobile: remove GO111MODULE usage

GO111MODULE is on by default as of Go 1.16.

Closes #2276
This commit is contained in:
Hajime Hoshi 2022-09-14 02:41:42 +09:00
parent 18fa00d25d
commit f1040d0507

View File

@ -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.