aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/rules/repository
diff options
context:
space:
mode:
authorGravatar jcater <jcater@google.com>2018-01-05 12:51:47 -0800
committerGravatar Copybara-Service <copybara-piper@google.com>2018-01-05 12:53:48 -0800
commit173cf8333ae5f2de9c451e445b188fa04553d1b9 (patch)
treebf6642352c24914b378691175e79922141ff4785 /src/main/java/com/google/devtools/build/lib/rules/repository
parent9755c72b48866ed034bd28aa033e9abd27431b1e (diff)
Update documentation on local_repository.path.
Fixes #4391. PiperOrigin-RevId: 180963440
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/repository')
-rw-r--r--src/main/java/com/google/devtools/build/lib/rules/repository/LocalRepositoryRule.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/repository/LocalRepositoryRule.java b/src/main/java/com/google/devtools/build/lib/rules/repository/LocalRepositoryRule.java
index 375d59bf3c..6be2cf5c81 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/repository/LocalRepositoryRule.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/repository/LocalRepositoryRule.java
@@ -36,7 +36,8 @@ public class LocalRepositoryRule implements RuleDefinition {
/* <!-- #BLAZE_RULE(local_repository).ATTRIBUTE(path) -->
The path to the local repository's directory.
- <p>This must be an absolute path to the directory containing the repository's
+ <p>This must be a path to the directory containing the repository's
+ <i>WORKSPACE</i> file. The path can be either absolute or relative to the main repository's
<i>WORKSPACE</i> file.</p>
<!-- #END_BLAZE_RULE.ATTRIBUTE --> */
.add(attr("path", STRING).mandatory())