mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-27 03:02:49 +01:00
all: rename files
This change makes the file name convention consistent. A file for macOS, not for iOS should have a suffix '_macos.go' rather than '_macos_darwin.go' and/or '_darwin.go'.
This commit is contained in:
parent
87e412cd39
commit
027ef33fe2
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
// Code generated by gen.go using 'go generate'. DO NOT EDIT.
|
// Code generated by gen.go using 'go generate'. DO NOT EDIT.
|
||||||
|
|
||||||
//go:build !ios
|
//go:build darwing && !ios
|
||||||
|
|
||||||
package gamepaddb
|
package gamepaddb
|
||||||
|
|
||||||
@ -22,7 +22,7 @@ import (
|
|||||||
_ "embed"
|
_ "embed"
|
||||||
)
|
)
|
||||||
|
|
||||||
//go:embed gamecontrollerdb_macos_darwin.txt
|
//go:embed gamecontrollerdb_macos.txt
|
||||||
var controllerBytes []byte
|
var controllerBytes []byte
|
||||||
|
|
||||||
func init() {
|
func init() {
|
@ -112,8 +112,8 @@ func run() error {
|
|||||||
hasGLFWGamepads: true,
|
hasGLFWGamepads: true,
|
||||||
},
|
},
|
||||||
"Mac OS X": {
|
"Mac OS X": {
|
||||||
filenameSuffix: "macos_darwin",
|
filenameSuffix: "macos",
|
||||||
buildConstraints: "//go:build !ios",
|
buildConstraints: "//go:build darwing && !ios",
|
||||||
},
|
},
|
||||||
"Linux": {
|
"Linux": {
|
||||||
filenameSuffix: "linbsd",
|
filenameSuffix: "linbsd",
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
//go:build !ios
|
//go:build darwin && !ios
|
||||||
|
|
||||||
package opengl
|
package opengl
|
||||||
|
|
Loading…
Reference in New Issue
Block a user