|
// +build ignore
|
|
|
|
package main
|
|
|
|
import (
|
|
"log"
|
|
|
|
"github.com/chrissexton/happy/data"
|
|
"github.com/shurcooL/vfsgen"
|
|
)
|
|
|
|
func main() {
|
|
err := vfsgen.Generate(data.Assets, vfsgen.Options{
|
|
PackageName: "data",
|
|
BuildTags: "!dev",
|
|
VariableName: "Assets",
|
|
})
|
|
if err != nil {
|
|
log.Fatalln(err)
|
|
}
|
|
}
|