vfs generate in makefile

This commit is contained in:
Thomas Rudin 2019-02-02 16:23:01 +01:00
parent cebe92014e
commit 0da44f534e
2 changed files with 1 additions and 3 deletions

View File

@ -18,7 +18,7 @@ clean:
rm -rf $(OUT_DIR) rm -rf $(OUT_DIR)
$(STATIC_VFS): $(STATIC_VFS):
go generate go run github.com/mjibson/esc -o vfs/static.go -prefix="static/" -pkg vfs static
build: $(STATIC_VFS) $(OUT_DIR) build: $(STATIC_VFS) $(OUT_DIR)
# native # native

View File

@ -12,8 +12,6 @@ import (
"github.com/sirupsen/logrus" "github.com/sirupsen/logrus"
) )
//go:generate go run github.com/mjibson/esc -o vfs/static.go -prefix="static/" -pkg vfs static
func main() { func main() {
//Parse command line //Parse command line