REPO.bazel files

Report an issue Nightly · 7.4 . 7.3 · 7.2 · 7.1 · 7.0 · 6.5

Methods available in REPO.bazel files.

Members

ignore_directories

None ignore_directories(dirs)

The list of directories to ignore in this repository.

This function takes a list of strings and a directory is ignored if any of the given strings matches its repository-relative path according to the semantics of the glob() function. This function can be used to ignore directories that are implementation details of source control systems, output files of other build systems, etc.

Parameters

Parameter Description
dirs sequence of strings; required

repo

None repo(**kwargs)

Declares metadata that applies to every rule in the repository. It must be called at most once per REPO.bazel file. If called, it must be the first call in the REPO.bazel file.

Parameters

Parameter Description
kwargs required
The repo() function accepts exactly the same arguments as the package() function in BUILD files.