mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-11 19:48:54 +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.
|
||||
|
||||
//go:build !ios
|
||||
//go:build darwing && !ios
|
||||
|
||||
package gamepaddb
|
||||
|
||||
@ -22,7 +22,7 @@ import (
|
||||
_ "embed"
|
||||
)
|
||||
|
||||
//go:embed gamecontrollerdb_macos_darwin.txt
|
||||
//go:embed gamecontrollerdb_macos.txt
|
||||
var controllerBytes []byte
|
||||
|
||||
func init() {
|
@ -112,8 +112,8 @@ func run() error {
|
||||
hasGLFWGamepads: true,
|
||||
},
|
||||
"Mac OS X": {
|
||||
filenameSuffix: "macos_darwin",
|
||||
buildConstraints: "//go:build !ios",
|
||||
filenameSuffix: "macos",
|
||||
buildConstraints: "//go:build darwing && !ios",
|
||||
},
|
||||
"Linux": {
|
||||
filenameSuffix: "linbsd",
|
||||
|
@ -12,7 +12,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
//go:build !ios
|
||||
//go:build darwin && !ios
|
||||
|
||||
package opengl
|
||||
|
Loading…
Reference in New Issue
Block a user