mirror of https://github.com/linkerd/linkerd2.git
22 lines
401 B
Go
22 lines
401 B
Go
// +build ignore
|
|
|
|
package main
|
|
|
|
import (
|
|
"github.com/linkerd/linkerd2/cli/static"
|
|
"github.com/shurcooL/vfsgen"
|
|
log "github.com/sirupsen/logrus"
|
|
)
|
|
|
|
func main() {
|
|
err := vfsgen.Generate(static.Templates, vfsgen.Options{
|
|
Filename: "static/generated_templates.gogen.go",
|
|
PackageName: "static",
|
|
BuildTags: "prod",
|
|
VariableName: "Templates",
|
|
})
|
|
if err != nil {
|
|
log.Fatalln(err)
|
|
}
|
|
}
|