summaryrefslogtreecommitdiffstats
path: root/modules/public/public.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/public/public.go')
-rw-r--r--modules/public/public.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/public/public.go b/modules/public/public.go
index 2e004536f8..8362b42576 100644
--- a/modules/public/public.go
+++ b/modules/public/public.go
@@ -17,10 +17,8 @@ import (
"gopkg.in/macaron.v1"
)
-//go:generate go-bindata -tags "bindata" -ignore "\\.go|\\.less" -pkg "public" -o "bindata.go" ../../public/...
+//go:generate go run -mod=vendor main.go
//go:generate go fmt bindata.go
-//go:generate sed -i.bak s/..\/..\/public\/// bindata.go
-//go:generate rm -f bindata.go.bak
// Options represents the available options to configure the macaron handler.
type Options struct {