Integrate templates into bindata optionally (#314)
Integrated optional bindata for the templates
This commit is contained in:
parent
1b5b297c39
commit
83ed234472
15 changed files with 274 additions and 107 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue