Improve generators
This commit is contained in:
parent
aa903a664a
commit
c1a55e57ae
3 changed files with 4 additions and 1 deletions
|
|
@ -1,3 +1,4 @@
|
|||
package main
|
||||
|
||||
//go:generate go-bindata-assetfs -mode 0664 -modtime 1 -o ./bindata.generated.go webdata/...
|
||||
//go:generate gofmt -w ./bindata.generated.go
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// Code generated by keysyms.generator.go. DO NOT EDIT.
|
||||
// +build portal x11
|
||||
|
||||
package main
|
||||
|
|
|
|||
|
|
@ -101,7 +101,8 @@ func main() {
|
|||
}
|
||||
keysymsMap[unicode] = keysym
|
||||
}
|
||||
content := "// +build portal x11\n\n" +
|
||||
content := "// Code generated by keysyms.generator.go. DO NOT EDIT.\n" +
|
||||
"// +build portal x11\n\n" +
|
||||
"package main\n\n" +
|
||||
"var keysymsMap = map[rune]Keysym{\n"
|
||||
keys := make([]rune, 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue