mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 03:08:54 +01:00
internal/gamepaddb: Do not fetch the database file on go:generate
This is too aggressive and sometimes risky to update the database file always when go-generate is executed.
This commit is contained in:
parent
9ab6758b7a
commit
56c5bec908
@ -14,7 +14,10 @@
|
||||
|
||||
// gamecontrollerdb.txt is downloaded at https://github.com/gabomdq/SDL_GameControllerDB.
|
||||
|
||||
//go:generate curl --location --remote-name https://raw.githubusercontent.com/gabomdq/SDL_GameControllerDB/master/gamecontrollerdb.txt
|
||||
// To update the database file, run:
|
||||
//
|
||||
// curl --location --remote-name https://raw.githubusercontent.com/gabomdq/SDL_GameControllerDB/master/gamecontrollerdb.txt
|
||||
|
||||
//go:generate file2byteslice -package gamepaddb -input=./gamecontrollerdb.txt -output=./gamecontrollerdb.txt.go -var=gamecontrollerdbTxt
|
||||
|
||||
package gamepaddb
|
||||
|
Loading…
Reference in New Issue
Block a user