vfs generate in makefile
This commit is contained in:
parent
cebe92014e
commit
0da44f534e
@ -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
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user