mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 18:58:54 +01:00
Bug fix: some generators did not work due to a lacked package
Updates #926
This commit is contained in:
parent
8fcee54849
commit
4d2a0287b5
@ -15,5 +15,8 @@
|
||||
package ebiten
|
||||
|
||||
//go:generate go run genkeys.go
|
||||
//go:generate go run genevents.go
|
||||
//go:generate gofmt -s -w .
|
||||
|
||||
// TODO: Add this after event package is added again (#926).
|
||||
//
|
||||
// go:generate go run genevents.go
|
||||
|
@ -663,8 +663,11 @@ func main() {
|
||||
sort.Slice(ebitenKeyNamesWithoutMods, keyNamesLess(ebitenKeyNamesWithoutMods))
|
||||
sort.Slice(driverKeyNames, keyNamesLess(driverKeyNames))
|
||||
|
||||
// TODO: Add this line for event package (#926).
|
||||
//
|
||||
// filepath.Join("event", "keys.go"): eventKeysTmpl,
|
||||
|
||||
for path, tmpl := range map[string]string{
|
||||
filepath.Join("event", "keys.go"): eventKeysTmpl,
|
||||
filepath.Join("internal", "driver", "keys.go"): driverKeysTmpl,
|
||||
filepath.Join("internal", "glfw", "keys.go"): glfwKeysTmpl,
|
||||
filepath.Join("internal", "uidriver", "glfw", "keys.go"): uidriverGlfwKeysTmpl,
|
||||
|
Loading…
Reference in New Issue
Block a user