mirror of
https://github.com/beego/bee.git
synced 2025-07-04 16:40:19 +00:00
生成文档功能更新
This commit is contained in:
@ -131,6 +131,8 @@ func AutoBuild(files []string, isgenerate bool) {
|
||||
beeLogger.Log.Info("Generating the docs...")
|
||||
icmd := exec.Command("bee", "generate", "docs")
|
||||
icmd.Env = append(os.Environ(), "GOGC=off")
|
||||
icmd.Stdout = os.Stdout
|
||||
icmd.Stderr = os.Stderr
|
||||
err = icmd.Run()
|
||||
if err != nil {
|
||||
utils.Notify("", "Failed to generate the docs.")
|
||||
|
Reference in New Issue
Block a user