SimpleCloudNotifier/scnserver/_gen/enum-generate.go

21 lines
287 B
Go
Raw Permalink Normal View History

2023-04-21 21:45:16 +02:00
package main
import (
2023-06-05 13:37:49 +02:00
"gogs.mikescher.com/BlackForestBytes/goext/bfcodegen"
2023-04-21 21:45:16 +02:00
"os"
)
func main() {
dest := os.Args[2]
wd, err := os.Getwd()
if err != nil {
panic(err)
}
2024-05-31 15:22:27 +02:00
err = bfcodegen.GenerateEnumSpecs(wd, dest, bfcodegen.EnumGenOptions{})
2023-06-05 13:37:49 +02:00
if err != nil {
panic(err)
2023-04-21 21:45:16 +02:00
}
}