微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

Bazel 代码构建工具

程序名称:Bazel

授权协议: Apache

操作系统: 跨平台

开发语言: Java

Bazel 介绍

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

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

具有以下功能

使用方法

  % bazel help
                             [Bazel release bazel-]
  Usage: bazel   ...

  Available commands:
    analyze-profile     Analyzes build profile data.
    build               Builds the specified targets.

    canonicalize-flags  Canonicalize Bazel flags.
    clean               Removes output files and optionally stops the server.

    help                Prints help for commands, or the index.

    info                displays runtime info about the bazel server.

    query               Executes a dependency graph query.

    run                 Runs the specified target.
    shutdown            Stops the Bazel server.
    test                Builds and runs the specified test targets.

  Getting more help:
    bazel help                      Prints help and options for .
    bazel help startup_options
                     Options for the JVM hosting Bazel.
    bazel help target-Syntax
                     Explains the Syntax for specifying targets.
    bazel help info-keys
                     displays a list of keys used by the info command.

Bazel 官网

https://github.com/bazelbuild/bazel

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐