mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 10:48:53 +01:00
Make go vet happy
This commit is contained in:
parent
d6c1bb2ae8
commit
1fa76b89a3
@ -1,4 +1,4 @@
|
||||
// Copyright 2013 Hajime Hoshi
|
||||
// Copyright 2013 The Ebiten Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
|
@ -264,10 +264,10 @@ func main() {
|
||||
buildTag := ""
|
||||
switch path {
|
||||
case "internal/ui/keys_glfw.go":
|
||||
buildTag = `// +build darwin,!arm,!arm64 linux windows
|
||||
// +build !js
|
||||
// +build !android
|
||||
// +build !ios`
|
||||
buildTag = "// +build darwin,!arm,!arm64 linux windows" +
|
||||
"\n// +build !js" +
|
||||
"\n// +build !android" +
|
||||
"\n// +build !ios"
|
||||
case "internal/ui/keys_js.go":
|
||||
buildTag = "// +build js"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user