commit | 512b9b9b353bcabc436a87329fadd449c684c44b | [log] [tgz] |
---|---|---|
author | Ed Baunton <edbaunton@gmail.com> | Wed Jan 10 02:23:11 2018 -0800 |
committer | Copybara-Service <copybara-piper@google.com> | Wed Jan 10 02:25:27 2018 -0800 |
tree | 505864869094971e3ba16168664c09c75c6622fc | |
parent | 950c2a2d5bb4886dcec94caf601c5fb10f7c3f3d [diff] |
Add support for strip_prefix to {new_}git_repository skylark rules Continuation of https://github.com/bazelbuild/bazel/pull/4356 An approach at supporting strip_prefix with the git skylark rules. This approach unfortunately uses symlinks since you cannot clone a subset of a git repository. It creates a tmp directory which is the 'real' clone and then provides a link in place of the expected location of the repository to the path of the required prefix. Behaviour is only changed if a strip_prefix is provided. Closes #4368. PiperOrigin-RevId: 181438640
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel only rebuilds what is necessary. With advanced local and distributed caching, optimized dependency analysis and parallel execution, you get fast and incremental builds.
One tool, multiple languages: Build and test Java, C++, Android, iOS, Go, and a wide variety of other language platforms. Bazel runs on Windows, macOS, and Linux.
Scalable: Bazel helps you scale your organization, codebase, and continuous integration solution. It handles codebases of any size, in multiple repositories or a huge monorepo.
Extensible to your needs: Easily add support for new languages and platforms with Bazel's familiar extension language. Share and re-use language rules written by the growing Bazel community.
Follow our tutorials:
See CONTRIBUTING.md
Bazel is released in ‘Beta’. See the product roadmap to learn about the path toward a stable 1.0 release.