@bazel_tools//tools/build_defs/repo:local.bzl.
// Generated with Stardoc: http://skydoc.bazel.build
Rules for making directories in the local filesystem available as repos.
Setup
To use these rules in a module extension, load them in your .bzl file and then call them from your extension’s implementation function. For example, to uselocal_repository:
use_repo_rule:
local_repository
new_local_repository instead.
ATTRIBUTES
name | Name; required A unique name for this repository. |
path | String; required The path to the directory to make available as a repo.The path can be either absolute, or relative to the workspace root. |
repo_mapping | Dictionary: String -> String; optional In |
new_local_repository
local_repository instead.
ATTRIBUTES
name | Name; required A unique name for this repository. |
build_file | Label; optional A file to use as a BUILD file for this repo.Exactly one of |
build_file_content | String; optional The content of the BUILD file to be created for this repo.Exactly one of |
path | String; required The path to the directory to make available as a repo.The path can be either absolute, or relative to the workspace root. |
repo_mapping | Dictionary: String -> String; optional In |