mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-03-09 22:13:02 +08:00
* moving a bunch of packages under pkg * fix gen * fix tst * oops * fix test fo real * parse mx/a
17 lines
280 B
Go
17 lines
280 B
Go
package main
|
|
|
|
import (
|
|
"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)
|
|
}
|