commit | df23e2f2512c45143d113a3b3101afc8a4fa4e83 | [log] [tgz] |
---|---|---|
author | Vlad Losev <vladlosev@users.noreply.github.com> | Thu Feb 16 14:45:08 2017 +0000 |
committer | Dmitry Lomov <dslomov@google.com> | Thu Feb 16 16:57:42 2017 +0000 |
tree | e93d998c5915c1844fc3b242bcf9f97b9576d028 | |
parent | 97b6af8d71bf54bfa62f18e90a458394da76087a [diff] |
Fixes directory path computation in docker_build This fixes #1178. When a docker_build rule has a `files` input that is at the root of the repository, it contains no / characters, and the current version of `_short_path_dirname` returns the last character of the name instead of an empty string. Closes #2529. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/2529 PiperOrigin-RevId: 147714720 MOS_MIGRATED_REVID=147714720
{Fast, Correct} - Choose two
Bazel is a build tool that builds code quickly and reliably. It is used to build the majority of Google‘s software, and thus it has been designed to handle build problems present in Google’s development environment, including:
A massive, shared code repository, in which all software is built from source. Bazel has been built for speed, using both caching and parallelism to achieve this. Bazel is critical to Google's ability to continue to scale its software development practices as the company grows.
An emphasis on automated testing and releases. Bazel has been built for correctness and reproducibility, meaning that a build performed on a continuous build machine or in a release pipeline will generate bitwise-identical outputs to those generated on a developer's machine.
Language and platform diversity. Bazel's architecture is general enough to support many different programming languages within Google, and can be used to build both client and server software targeting multiple architectures from the same underlying codebase.
Find more background about Bazel in our FAQ.