154 Commits

Author SHA1 Message Date
Jack Nagel
2505ebda67 fetch: fix '--force' for pathnames
`brew fetch --force` was a no-op for formula pathnames when that formula
did not exist in Library/Formula, because `brew --cache #{f.name}`
results in an error for that case.

Fix it by always using f.cached_download.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-09-01 19:17:13 -05:00
Birger J. Nordølum
5a10cc8e76 Added SHA-256 to the fetch command.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-04-14 15:43:58 -07:00
Adam Vandenberg
d6382efdeb Add brew fetch --deps
`brew fetch --deps` will also cache the dependencies of any listed formulae.
2011-04-14 15:09:15 -07:00
Adam Vandenberg
b7e068b740 'brew fetch' now an official command 2011-03-12 11:55:11 -08:00