diff options
author | Kristina Chodorow <kchodorow@google.com> | 2016-07-06 14:51:33 +0000 |
---|---|---|
committer | Klaus Aehlig <aehlig@google.com> | 2016-07-07 08:39:01 +0000 |
commit | cb9788cedc04ca62c8cbf45b3f77db3617fdf47c (patch) | |
tree | b401e61909d0f0bd827ac441c6d151f76e2b6e7a /site/docs/install.md | |
parent | 8a0fbb88c958eb86f75dddd37f2221d0873c7ac2 (diff) |
Add doc on how to "install" the bazel binary
As mentioned in https://groups.google.com/d/msgid/bazel-discuss/cebcf019-fcb4-4d7b-87be-1a3922b15e77%40googlegroups.com.
--
MOS_MIGRATED_REVID=126697864
Diffstat (limited to 'site/docs/install.md')
-rw-r--r-- | site/docs/install.md | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/site/docs/install.md b/site/docs/install.md index cfa6dd0079..7d89b7e77a 100644 --- a/site/docs/install.md +++ b/site/docs/install.md @@ -216,7 +216,7 @@ Bazel also comes with a zsh completion script. To install it: zstyle ':completion:*' cache-path ~/.zsh/cache ``` -## <a name="compiling-from-source"></a>Compiling from source +## Compiling from source If you would like to build Bazel from source, clone the source from GitHub and run `./compile.sh` to build it: @@ -227,10 +227,12 @@ $ cd bazel $ ./compile.sh ``` -This will create a bazel binary in `bazel-bin/src/bazel`. +This will create a bazel binary in `bazel-bin/src/bazel`. This binary is +self-contained, so it can be copied to a directory on the PATH (e.g., +`/usr/local/bin`) or used in-place. -Check our [continuous integration](http://ci.bazel.io) for the current status of -the build. +Check our [continuous integration](http://ci.bazel.io) (Bazel bootstrap and +maintenance > Bazel) for the current status of the build. For more information on using Bazel, see [Getting started](getting-started.html). |