dnscontrol/build/generate/generate.go
2017-03-12 16:41:11 -07:00

18 lines
368 B
Go

package main
import (
"github.com/mjibson/esc/embed"
)
func main() {
//go:generate esc -modtime 0 -o js/static.go -pkg js -include helpers\.js -ignore go -prefix js js
conf := &embed.Config{
ModTime: "0",
OutputFile: "js/static.go",
Package: "js",
Prefix: "js",
Private: true,
Files: []string{`js/helpers.js`},
}
embed.Run(conf)
}