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:
Hajime Hoshi 2024-10-12 14:07:13 +09:00
parent 87e412cd39
commit 027ef33fe2
4 changed files with 5 additions and 5 deletions

View File

@ -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() {

View File

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

View File

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