mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 18:58:54 +01:00
ebiten: bug fix: wrong build tags
gofmt is used after the generation, so there was not an actual issue.
This commit is contained in:
parent
dac6548c0c
commit
c85d319471
@ -827,10 +827,10 @@ func main() {
|
||||
case filepath.Join("internal", "ui", "keys_mobile.go"):
|
||||
buildTag = "//go:build (android || ios) && !nintendosdk && !ebitencbackend" +
|
||||
"\n// +build android ios" +
|
||||
"\n// +build !nintendosdk && !ebitencbackend"
|
||||
"\n// +build !nintendosdk,!ebitencbackend"
|
||||
case filepath.Join("internal", "ui", "keys_glfw.go"):
|
||||
buildTag = "//go:build !android && !ios && !js && !nintendosdk && !ebitencbackend" +
|
||||
"\n// +build !android,!ios,!js,!nintendosdk && !ebitencbackend"
|
||||
"\n// +build !android,!ios,!js,!nintendosdk,!ebitencbackend"
|
||||
}
|
||||
// NOTE: According to godoc, maps are automatically sorted by key.
|
||||
if err := tmpl.Execute(f, struct {
|
||||
|
Loading…
Reference in New Issue
Block a user