b8392c4c50
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
30 lines
512 B
Go
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)
|
|
}
|
|
}
|