From 0da44f534e359686a2eb08423c61d65008693ce8 Mon Sep 17 00:00:00 2001 From: Thomas Rudin Date: Sat, 2 Feb 2019 16:23:01 +0100 Subject: [PATCH] vfs generate in makefile --- server/Makefile | 2 +- server/main.go | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/server/Makefile b/server/Makefile index 58fd06f..1ab7b37 100644 --- a/server/Makefile +++ b/server/Makefile @@ -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 diff --git a/server/main.go b/server/main.go index 55de793..6b219de 100644 --- a/server/main.go +++ b/server/main.go @@ -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