Quantcast
Channel: OSCHINA 社区最新新闻
Viewing all articles
Browse latest Browse all 54553

Bazel 0.4.4 发布, Google 代码构建工具

$
0
0

Bazel 0.4.4 发布了,Bazel 是 Google 的一款可再生的代码构建工具。它主要是用于构建 Google 的软件,处理出现在谷歌的开发环境的构建问题,比如说:大规模数据构建问题,共享代码库问题,从源代码构建的软件的相关问题。

Bazel 支持多种语言并且跨平台,还支持自动化测试和部署、具有再现性(Reproducibility)和规模化等特征。Bazel 在谷歌大规模软件开发实践能力方面起着至关重要的作用。

具有以下功能:

  • 支持自动化测试和发布

  • 支持多语言和多平台的多样性

部分更新内容:

  • Only targets with public visibility can be bound to something in //external: .

  • The deprecated -x startup option has been removed.

  • docker_build: change the repository names embedded by docker_build. You can revert to the old behavior by setting legacy_repository_naming=True.

  • The string methods strip(), lstrip(), and rstrip() now by default remove the same whitespace characters as Python 3 does, and accept None as an argument.

  • Deprecated globals HOST_CFG and DATA_CFG are removed. Use strings "host" and "data" instead.

  • repository_ctx environment is now affected by --action_env flag (value from the client environment will be replaced by value given on the command line through --action_env).

  • All executable labels must also have a cfg parameter specified.

  • Removed the cmd_helper.template function. The function was equivalent to: def template(items, template): return [template.format(path = i.path, short_path = i.short_path) for i in items]

  • ……

完整更新内容请查看发行日志

下载地址:


Viewing all articles
Browse latest Browse all 54553

Trending Articles