mirror of
https://github.com/go-gitea/gitea
synced 2024-12-23 09:47:51 +01:00
83ed234472
Integrated optional bindata for the templates
17 lines
556 B
Go
17 lines
556 B
Go
// 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 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 {
|
|
Directory string
|
|
SkipLogging bool
|
|
}
|