tstor/build_tools/assets_generate/main.go
Antonio Navarro Perez 0f513ef8b3
Change module name to distribyted/distribyted (#36)
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2021-03-01 17:43:28 +01:00

20 lines
349 B
Go

// +build ignore
package main
import (
"github.com/distribyted/distribyted"
"github.com/shurcooL/vfsgen"
log "github.com/sirupsen/logrus"
)
func main() {
err := vfsgen.Generate(distribyted.HttpFS, vfsgen.Options{
BuildTags: "release",
VariableName: "HttpFS",
PackageName: "distribyted",
})
if err != nil {
log.Fatalln(err)
}
}