tstor/torrent/assets_generate.go

22 lines
321 B
Go
Raw Normal View History

// +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)
}
}