This is the multi-page printable view of this section. Click here to print.
Repo map
Extension to download several versions of a repository depending on a platform
- 1: Bzl
- 1.1: al_repo_map
1 - Bzl
Bazel code
1.1 - al_repo_map
al_repo_map
al_repo_map = use_extension("@com_alwaldend_src//tools/repo_map/main/bzl:al_repo_map.bzl", "al_repo_map")
al_repo_map.download(name, build_file_content, build_file_native_binary, download_type, executable,
repos, strip_prefix)
Extension to create several repos from a map
TAG CLASSES
download
Attributes
| Name | Description | Type | Mandatory | Default |
|---|---|---|---|---|
| name | Name | Name | required | |
| build_file_content | Build file content | String | optional | "" |
| build_file_native_binary | Args for a native binary build file | Dictionary: String -> String | optional | {} |
| download_type | Download type | String | optional | "http_archive" |
| executable | Field executable for http_file | Boolean | optional | False |
| repos | Map of repos | Dictionary: String -> List of strings | required | |
| strip_prefix | Strip prefix | String | optional | "" |