mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-12 12:08:58 +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"):
|
case filepath.Join("internal", "ui", "keys_mobile.go"):
|
||||||
buildTag = "//go:build (android || ios) && !nintendosdk && !ebitencbackend" +
|
buildTag = "//go:build (android || ios) && !nintendosdk && !ebitencbackend" +
|
||||||
"\n// +build android ios" +
|
"\n// +build android ios" +
|
||||||
"\n// +build !nintendosdk && !ebitencbackend"
|
"\n// +build !nintendosdk,!ebitencbackend"
|
||||||
case filepath.Join("internal", "ui", "keys_glfw.go"):
|
case filepath.Join("internal", "ui", "keys_glfw.go"):
|
||||||
buildTag = "//go:build !android && !ios && !js && !nintendosdk && !ebitencbackend" +
|
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.
|
// NOTE: According to godoc, maps are automatically sorted by key.
|
||||||
if err := tmpl.Execute(f, struct {
|
if err := tmpl.Execute(f, struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user