1
0
mirror of https://github.com/beego/bee.git synced 2025-06-12 10:00:41 +00:00

add scripts option(custom commands)

example to use:
1. Go test with custom params or other test framework like ginkgo
2. Fronted tools like grunt
3. Other custom  commands
This commit is contained in:
Sergey Lanzman
2017-03-11 12:16:36 +02:00
parent 3d5b13d84e
commit d1330dfc0b
3 changed files with 48 additions and 2 deletions

View File

@ -79,8 +79,9 @@ var Conf struct {
Driver string
Conn string
}
EnableReload bool `json:"enable_reload" yaml:"enable_reload"`
EnableNotification bool `json:"enable_notification" yaml:"enable_notification"`
EnableReload bool `json:"enable_reload" yaml:"enable_reload"`
EnableNotification bool `json:"enable_notification" yaml:"enable_notification"`
Scripts map[string]string `json:"scripts" yaml:"scripts"`
}
func init() {