summaryrefslogtreecommitdiffstats
path: root/modules/templates/templates.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/templates/templates.go')
-rw-r--r--modules/templates/templates.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/templates/templates.go b/modules/templates/templates.go
new file mode 100644
index 0000000000..91c8db5228
--- /dev/null
+++ b/modules/templates/templates.go
@@ -0,0 +1,10 @@
+// Copyright 2016 The Gitea Authors. All rights reserved.
+// Use of this source code is governed by a MIT-style
+// license that can be found in the LICENSE file.
+
+package templates
+
+//go:generate go-bindata -tags "bindata" -ignore "\\.go" -pkg "templates" -o "bindata.go" ../../templates/...
+//go:generate go fmt bindata.go
+//go:generate sed -i.bak s/..\/..\/templates\/// bindata.go
+//go:generate rm -f bindata.go.bak