[engine] support per target env vars setup.
未关闭
transition
- 主要语言
- C++
- 星标
- 251
- 派生
- 63
- PR 合并指标
- 30 天内没有已合并 PR
描述
We often need to set, or clear, environment variables for invoking target actions. Add an engine feature to be able to set those per target variables:
- Add special `ENVIRON` per target variable that is composed of a list of _name_ and _value_ pairs. The _value_ can be an empty string to indicate that the _name_ env variable should be unset.
- When the action for a target runs the each _name_ and _value_ in the `ENVIRON` variable is set for the duration of the action invocation.
贡献指南
评估
这个 Issue 还没有评估数据。