diff options
| author | Adam Vandenberg | 2010-06-15 12:35:55 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-06-15 12:38:04 -0700 |
| commit | 6fd0a120f1d9bc1d0c0441ad9ce98bf1ffa98cd8 (patch) | |
| tree | 7a27718e0be6b9fefa0a59307b8443d265cb3f19 /Library/Contributions/examples | |
| parent | 8af39f115c2287b39f22827c7e24ab6dc06e3379 (diff) | |
| download | brew-6fd0a120f1d9bc1d0c0441ad9ce98bf1ffa98cd8.tar.bz2 | |
External: 'brew fetch' downloads tarballs to cache.
Diffstat (limited to 'Library/Contributions/examples')
| -rwxr-xr-x | Library/Contributions/examples/brew-fetch.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Library/Contributions/examples/brew-fetch.rb b/Library/Contributions/examples/brew-fetch.rb new file mode 100755 index 000000000..73e1f6a87 --- /dev/null +++ b/Library/Contributions/examples/brew-fetch.rb @@ -0,0 +1,7 @@ +# Downloads the tarballs for the given formulae to the Cache + +require 'formula' + +ARGV.formulae.each do |f| + f.downloader.fetch +end |
