Make go vet happy

This commit is contained in:
Hajime Hoshi 2016-06-28 02:51:50 +09:00
parent d6c1bb2ae8
commit 1fa76b89a3
2 changed files with 5 additions and 5 deletions

View File

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

View File

@ -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"
}