aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Contributions/example-formula.rb
diff options
context:
space:
mode:
authorRaymie Stata2013-09-24 01:34:28 -0700
committerAdam Vandenberg2013-09-24 20:43:34 -0700
commit694a9c2eed98419fda7e110cdabb9b4f815e7a10 (patch)
tree83bcabc21cf01339f2b92a522d62042ce92b33b4 /Library/Contributions/example-formula.rb
parent8d0c8fd978506edb5cdca8c68e8e948087428fab (diff)
downloadbrew-694a9c2eed98419fda7e110cdabb9b4f815e7a10.tar.bz2
add S3DownloadStrategy
downloads tarballs from public and private S3 buckets Closes Homebrew/homebrew#22779. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Contributions/example-formula.rb')
-rw-r--r--Library/Contributions/example-formula.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Contributions/example-formula.rb b/Library/Contributions/example-formula.rb
index 8376e2713..43e294bd8 100644
--- a/Library/Contributions/example-formula.rb
+++ b/Library/Contributions/example-formula.rb
@@ -26,6 +26,7 @@ class ExampleFormula < Formula
# `:curl` (normal file download. Will also extract.)
# `:nounzip` (without extracting)
# `:post` (download via an HTTP POST)
+ # `S3DownloadStrategy` (download from S3 using signed request)
# `UnsafeSubversionDownloadStrategy` (svn with invalid certs)
url 'https://some.dont.provide.archives.example.com', :using => :git, :tag => '1.2.3'