mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
* adding simple provider feature matrix generator * filling out matrix * clean output * dead code * explanatory text * explanatory text * typo * move stuff around * clean * editing
24 lines
358 B
Go
24 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)
|
|
}
|
|
}
|