summaryrefslogtreecommitdiffstats
path: root/modules/public/public.go
diff options
context:
space:
mode:
authorThomas Boerger <thomas@webhippie.de>2016-12-06 18:58:31 +0100
committerGitHub <noreply@github.com>2016-12-06 18:58:31 +0100
commit83ed234472c85057100db5cc537049812c3a288c (patch)
treed6bb6623eb36dce5586c6f43495d99bb94b35827 /modules/public/public.go
parent1b5b297c398a547b506029ac5a527ba9a5891ffb (diff)
downloadgitea-83ed234472c85057100db5cc537049812c3a288c.tar.gz
gitea-83ed234472c85057100db5cc537049812c3a288c.zip
Integrate templates into bindata optionally (#314)
Integrated optional bindata for the templates
Diffstat (limited to 'modules/public/public.go')
-rw-r--r--modules/public/public.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/public/public.go b/modules/public/public.go
index 261ed88874..9c9e9d533d 100644
--- a/modules/public/public.go
+++ b/modules/public/public.go
@@ -6,6 +6,8 @@ package public
//go:generate go-bindata -tags "bindata" -ignore "\\.go|\\.less" -pkg "public" -o "bindata.go" ../../public/...
//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 {