21 lines
259 B
Go
21 lines
259 B
Go
|
package main
|
||
|
|
||
|
import (
|
||
|
"gogs.mikescher.com/BlackForestBytes/goext/bfcodegen"
|
||
|
"os"
|
||
|
)
|
||
|
|
||
|
func main() {
|
||
|
dest := os.Args[2]
|
||
|
|
||
|
wd, err := os.Getwd()
|
||
|
if err != nil {
|
||
|
panic(err)
|
||
|
}
|
||
|
|
||
|
err = bfcodegen.GenerateEnumSpecs(wd, dest)
|
||
|
if err != nil {
|
||
|
panic(err)
|
||
|
}
|
||
|
}
|