tstor/build_tools/assets_generate/main.go
Antonio Navarro Perez 3b87e4aad7
Move from logrus to zerolog. (#45)
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2021-03-10 10:54:56 +01:00

20 lines
387 B
Go

// +build ignore
package main
import (
"github.com/distribyted/distribyted"
"github.com/rs/zerolog/log"
"github.com/shurcooL/vfsgen"
)
func main() {
err := vfsgen.Generate(distribyted.HttpFS, vfsgen.Options{
BuildTags: "release",
VariableName: "HttpFS",
PackageName: "distribyted",
})
if err != nil {
log.Fatal().Err(err).Msg("problem generating static files")
}
}