diff options
author | Eric Dobson <endobson@google.com> | 2017-09-05 12:26:44 +0200 |
---|---|---|
committer | Yun Peng <pcloudy@google.com> | 2017-09-05 14:58:34 +0200 |
commit | 01ebfea41d10f3fd941ed345ff6a23aa002340c4 (patch) | |
tree | b6dea797c6d2d774df29442b50d6b23493270eb7 /src/main/java/com/google/devtools/build/lib/rules/repository | |
parent | 4ec7463a663a0be18d96a3b7a87dbcc79fbb6130 (diff) |
Add closing paren to documentation on workspace rules.
Also moves parenthetical remark to a completely different sentence, as
it seemed off where it was.
Closes #3657.
PiperOrigin-RevId: 167558504
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/NewLocalRepositoryRule.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/repository/NewLocalRepositoryRule.java b/src/main/java/com/google/devtools/build/lib/rules/repository/NewLocalRepositoryRule.java index 66f4608506..bee4534272 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/repository/NewLocalRepositoryRule.java +++ b/src/main/java/com/google/devtools/build/lib/rules/repository/NewLocalRepositoryRule.java @@ -44,8 +44,8 @@ public class NewLocalRepositoryRule implements RuleDefinition { <p>Either build_file or build_file_content must be specified.</p> <p>This attribute is a label relative to the main workspace. The file does not need to be - named BUILD, but can be (something like BUILD.new-repo-name may work well for - distinguishing it from the repository's actual BUILD files.</p> + named BUILD, but can be. (Something like BUILD.new-repo-name may work well for + distinguishing it from the repository's actual BUILD files.)</p> <!-- #END_BLAZE_RULE.ATTRIBUTE --> */ .add(attr("build_file", STRING)) /* <!-- #BLAZE_RULE(new_local_repository).ATTRIBUTE(build_file_content) --> @@ -60,8 +60,8 @@ public class NewLocalRepositoryRule implements RuleDefinition { <p>Either workspace_file or workspace_file_content can be specified, but not both.</p> <p>This attribute is a label relative to the main workspace. The file does not need to be - named WORKSPACE, but can be (something like WORKSPACE.new-repo-name may work well for - distinguishing it from the repository's actual WORKSPACE files.</p> + named WORKSPACE, but can be. (Something like WORKSPACE.new-repo-name may work well for + distinguishing it from the repository's actual WORKSPACE files.)</p> <!-- #END_BLAZE_RULE.ATTRIBUTE --> */ .add(attr("workspace_file", STRING)) /* <!-- #BLAZE_RULE(new_http_archive).ATTRIBUTE(workspace_file_content) --> |