aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
diff options
context:
space:
mode:
authorCharlie Sharpsteen2011-09-11 15:23:41 -0700
committerCharlie Sharpsteen2011-09-19 09:24:43 -0700
commit9d19506ee9d79d35eec5063ee1e971583fe79460 (patch)
tree98697bafeb019c818348d59233ca734f5966b9ad /Library/Homebrew/test
parentff7c88655698b8211c3cc45c16ef05ce924dea91 (diff)
downloadbrew-9d19506ee9d79d35eec5063ee1e971583fe79460.tar.bz2
mirror support: Add mirror method to Formula.rb
Mirrors can now be declared using the `mirror` method which works similar to `depends_on` and takes the same arguments as `url`. The formula class now has a public `fetch` method that cycles through the mirror list if the downloader for the primary URL throws a `DownloadError`. Other brew commands, like brew-fetch, also benefit from mirror support by using this method. Closes Homebrew/homebrew#7574.
Diffstat (limited to 'Library/Homebrew/test')
0 files changed, 0 insertions, 0 deletions