vfs generate in makefile
This commit is contained in:
parent
cebe92014e
commit
0da44f534e
@ -18,7 +18,7 @@ clean:
|
||||
rm -rf $(OUT_DIR)
|
||||
|
||||
$(STATIC_VFS):
|
||||
go generate
|
||||
go run github.com/mjibson/esc -o vfs/static.go -prefix="static/" -pkg vfs static
|
||||
|
||||
build: $(STATIC_VFS) $(OUT_DIR)
|
||||
# native
|
||||
|
@ -12,8 +12,6 @@ import (
|
||||
"github.com/sirupsen/logrus"
|
||||
)
|
||||
|
||||
//go:generate go run github.com/mjibson/esc -o vfs/static.go -prefix="static/" -pkg vfs static
|
||||
|
||||
func main() {
|
||||
//Parse command line
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user