commit | 1fccb31837f344e05b4e291d117e2b7e26eddc76 | [log] [tgz] |
---|---|---|
author | Andrew Johnson <ajohnson@stripe.com> | Mon Dec 05 18:27:27 2016 +0000 |
committer | Damien Martin-Guillerez <dmarting@google.com> | Tue Dec 06 12:04:37 2016 +0000 |
tree | 60ce2b10d2f72e8c9301eda3c93a653c3341cf50 | |
parent | 161c4a34c893bf8e25af00c18e95576bc2f82b5a [diff] |
Add quotes around variables when running dirname If a user happens to have spaces in the path name, `scripts/bootstrap/buildenv.sh` will fail with the error `usage: dirname path`. Quoting the argument to `dirname` when setting `WORKSPACE_DIR` avoids this issue. Closes #2030. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/2030 PiperOrigin-RevId: 141067912 MOS_MIGRATED_REVID=141067912
{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.