Skip to main content
Bazel Documentation home page
HEAD
English
Search...
⌘K
Module Registry
Blog
Github
Search...
Navigation
repository\_rule
About Bazel
Getting started
User guide
Reference
Extending
Community
Concepts
Extension Overview
Writing rules
Rules Tutorial
Creating a Symbolic Macro
Creating a Legacy Macro
Using Macros to Create Custom Verbs
Language
.bzl style guide
Challenges of Writing Rules
Windows
Distributing rules
Testing
Optimizing Performance
Deploying Rules
APIs
One-Page Overview
Global functions
repository\_rule
A callable value that may be invoked within the implementation function of a module extension to instantiate and return a repository rule. Created by
repository_rule()
.
⌘I