SimpleCloudNotifier/scnserver/_gen/enum-generate.go

22 lines
260 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)
}
2023-06-05 13:37:49 +02:00
err = bfcodegen.GenerateEnumSpecs(wd, dest)
if err != nil {
panic(err)
2023-04-21 21:45:16 +02:00
}
}