dnscontrol/build/generate/generate.go
Craig Peterson 3a90435357 Create a dynamic provider features matrix (#201)
* adding simple provider feature matrix generator

* filling out matrix

* clean output

* dead code

* explanatory text

* explanatory text

* typo

* move stuff around

* clean

* editing
2017-09-14 16:13:17 -04:00

23 lines
358 B
Go

package main
import (
"log"
"github.com/mjibson/esc/embed"
)
func main() {
conf := &embed.Config{
ModTime: "0",
OutputFile: "pkg/js/static.go",
Package: "js",
Prefix: "pkg/js",
Private: true,
Files: []string{`pkg/js/helpers.js`},
}
embed.Run(conf)
if err := generateFeatureMatrix(); err != nil {
log.Fatal(err)
}
}