diff options
| author | Mike McQuaid | 2017-02-20 11:50:23 +0000 |
|---|---|---|
| committer | GitHub | 2017-02-20 11:50:23 +0000 |
| commit | 0c0a77030e4ad616746e5b8c2674a2aa2f6f5b28 (patch) | |
| tree | b096be36060802e16ab992f3a6f319cfadc8f58b /Library/Homebrew | |
| parent | 07a3d43de430f0f17f3d5228bb0905b9851a18fe (diff) | |
| parent | 15ae8870a39930ccb87f6492aef085f66efa0d7a (diff) | |
| download | brew-0c0a77030e4ad616746e5b8c2674a2aa2f6f5b28.tar.bz2 | |
Merge pull request #2061 from cglong/patch-1
Docs for tag-based urls use preferred formatting
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/formula.rb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index a4ef11276..35bf52584 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -2033,7 +2033,7 @@ class Formula # @!attribute [w] url # The URL used to download the source for the {#stable} version of the formula. # We prefer `https` for security and proxy reasons. - # Optionally specify the download strategy with `:using => ...` + # If not inferrable, specify the download strategy with `:using => ...` # `:git`, `:hg`, `:svn`, `:bzr`, `:cvs`, # `:curl` (normal file download. Will also extract.) # `:nounzip` (without extracting) @@ -2041,7 +2041,10 @@ class Formula # `S3DownloadStrategy` (download from S3 using signed request) # # <pre>url "https://packed.sources.and.we.prefer.https.example.com/archive-1.2.3.tar.bz2"</pre> - # <pre>url "https://some.dont.provide.archives.example.com", :using => :git, :tag => "1.2.3", :revision => "db8e4de5b2d6653f66aea53094624468caad15d2"</pre> + # <pre>url "https://some.dont.provide.archives.example.com", + # :using => :git, + # :tag => "1.2.3", + # :revision => "db8e4de5b2d6653f66aea53094624468caad15d2"</pre> def url(val, specs = {}) stable.url(val, specs) end |
