tstor/assets_generate.go
Antonio Navarro Perez b8392c4c50 Remove previous POCs
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2020-06-13 12:15:46 +02:00

30 lines
512 B
Go

// +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)
}
err := vfsgen.Generate(distribyted.Assets, vfsgen.Options{
BuildTags: "release",
VariableName: "Templates",
PackageName: "distribyted",
})
if err != nil {
log.Fatalln(err)
}
}