2020-07-14 11:55:08 +00:00
|
|
|
// +build ignore
|
|
|
|
|
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
2021-03-01 16:43:28 +00:00
|
|
|
"github.com/distribyted/distribyted"
|
2020-07-14 11:55:08 +00:00
|
|
|
"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)
|
|
|
|
}
|
|
|
|
}
|