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