voidint / gbb

Go project compilation assistant written in golang.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

debug信息缺少变量表达式求值的信息

voidint opened this issue · comments

{
    "version": "0.2.0",
    "tool": "go build",
    "package": "github.com/voidint/gbb/build",
    "variables": [
        {
            "variable": "Date",
            "value": "{{.date}}"
        },
        {
            "variable": "Commit",
            "value": "{{.gitCommit}}"
        }
    ]
}

对于以上{{.date}}{{.gitCommit}}这类表达式的求值过程并没有在debug信息中输出。在没有debug信息情况下,如果在变量表达式求值的过程中发生错误,错误的定位将比较困难。