2020-05-08 14:37:43 +00:00
|
|
|
// +build ignore
|
|
|
|
|
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"log"
|
|
|
|
|
|
|
|
"github.com/ajnavarro/distribyted"
|
|
|
|
"github.com/shurcooL/vfsgen"
|
|
|
|
)
|
|
|
|
|
|
|
|
func main() {
|
|
|
|
err := vfsgen.Generate(distribyted.Assets, vfsgen.Options{
|
|
|
|
BuildTags: "release",
|
|
|
|
VariableName: "Assets",
|
|
|
|
PackageName: "distribyted",
|
|
|
|
})
|
|
|
|
if err != nil {
|
|
|
|
log.Fatalln(err)
|
|
|
|
}
|
2020-05-18 17:42:23 +00:00
|
|
|
|
|
|
|
err := vfsgen.Generate(distribyted.Assets, vfsgen.Options{
|
|
|
|
BuildTags: "release",
|
|
|
|
VariableName: "Templates",
|
|
|
|
PackageName: "distribyted",
|
|
|
|
})
|
|
|
|
if err != nil {
|
|
|
|
log.Fatalln(err)
|
|
|
|
}
|
2020-05-08 14:37:43 +00:00
|
|
|
}
|