diff options
author | tomlu <tomlu@google.com> | 2017-11-09 22:44:48 +0100 |
---|---|---|
committer | Damien Martin-Guillerez <dmarting@google.com> | 2017-11-10 23:27:32 +0100 |
commit | 7a0af171c9922511befcd2ed993a91c89d19a94a (patch) | |
tree | 928f2c0d9dbe5cc14351803730bc17b64b1c6a4c | |
parent | 4815f17763c362b8075fd8c87d1a754180be24eb (diff) |
Fix documentation for (new_)http_archive_rule.
PiperOrigin-RevId: 175206100
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/bazel/rules/workspace/HttpArchiveRule.java | 4 | ||||
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/bazel/rules/workspace/NewHttpArchiveRule.java | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/bazel/rules/workspace/HttpArchiveRule.java b/src/main/java/com/google/devtools/build/lib/bazel/rules/workspace/HttpArchiveRule.java index 3734725a08..ac3cfd6b89 100644 --- a/src/main/java/com/google/devtools/build/lib/bazel/rules/workspace/HttpArchiveRule.java +++ b/src/main/java/com/google/devtools/build/lib/bazel/rules/workspace/HttpArchiveRule.java @@ -110,8 +110,8 @@ public class HttpArchiveRule implements RuleDefinition { repository should already contain a BUILD file. If it does not, use <a href="${link new_http_archive}">new_http_archive</a> instead.</p> -<p>It supports Zip-formatted archives (with the .zip extension) and -tarballs (.tar.gz and .tgz extensions).</p> +<p>It supports Zip-formatted archives and tarballs. The full set of extensions supported is +.zip, .jar, .war, .tar.gz, .tgz, .tar.xz, or .tar.bz2.</p> <h4 id="http_archive_examples">Examples</h4> diff --git a/src/main/java/com/google/devtools/build/lib/bazel/rules/workspace/NewHttpArchiveRule.java b/src/main/java/com/google/devtools/build/lib/bazel/rules/workspace/NewHttpArchiveRule.java index 97dd5d3a2c..10650169b5 100644 --- a/src/main/java/com/google/devtools/build/lib/bazel/rules/workspace/NewHttpArchiveRule.java +++ b/src/main/java/com/google/devtools/build/lib/bazel/rules/workspace/NewHttpArchiveRule.java @@ -136,8 +136,8 @@ public class NewHttpArchiveRule implements RuleDefinition { <p>Downloads a compressed archive file, decompresses it, and creates a Bazel repository by combining the archive with the provided BUILD file.</p> -<p>It supports Zip-formatted archives (with the .zip extension) and -tarballs (.tar.gz and .tgz extensions).</p> +<p>It supports Zip-formatted archives and tarballs. The full set of extensions supported is +.zip, .jar, .war, .tar.gz, .tgz, .tar.xz, or .tar.bz2.</p> <h4 id="new_http_archive_examples">Examples</h4> |