Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
voidint opened this issue Jan 4, 2017 · 0 comments
Closed

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

voidint opened this issue Jan 4, 2017 · 0 comments

Comments

@voidint
Copy link
Owner

voidint commented Jan 4, 2017

{
    "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信息情况下,如果在变量表达式求值的过程中发生错误,错误的定位将比较困难。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant