Mike McQuaid 2c1bf79c67
cmd/vendor-install: handle broken shasum.
If `shasum` is broken and doesn't produce a valid checksum: we were
just doing the checksum comparison with an empty checksum.

Instead, let's treat an empty checksum as a failure condition, rather
than just the executable bit being present for the relevant binary, and
iterate through the available tools to try and get a non-empty checksum.

If they all produce an empty checksum: provide a different error to make
it a bit more obvious what's happening here.
2024-06-04 13:49:32 +01:00
..
2024-05-23 17:15:43 +01:00
2024-05-23 00:11:53 +00:00
2024-05-23 17:15:43 +01:00
2024-05-02 09:40:09 +02:00
2024-05-23 17:15:43 +01:00
2024-06-03 16:06:52 +00:00
2024-05-23 17:15:43 +01:00
2024-05-01 11:35:21 +02:00
2024-06-02 15:15:24 +01:00
2024-05-01 11:35:21 +02:00
2024-05-01 11:35:21 +02:00
2024-05-02 09:40:09 +02:00
2024-05-01 11:35:21 +02:00
2024-05-01 11:35:21 +02:00
2024-05-23 17:15:43 +01:00
2024-05-17 14:25:54 +09:00
2024-05-23 17:15:43 +01:00
2024-05-01 11:35:21 +02:00
2024-05-01 11:35:21 +02:00
2024-05-01 11:35:21 +02:00
2024-05-13 07:36:51 +01:00
2024-05-31 15:49:12 -07:00
2024-05-31 15:49:12 -07:00
2024-05-17 23:57:46 +09:00
2024-06-03 16:06:52 +00:00
2024-05-17 14:25:54 +09:00
2024-04-22 21:16:49 +02:00
2024-05-23 17:15:43 +01:00
2024-05-01 11:35:21 +02:00
2024-05-17 14:25:54 +09:00
2024-05-17 12:38:16 +09:00
2024-05-01 11:35:21 +02:00
2024-05-13 08:48:41 -04:00
2024-05-01 11:35:21 +02:00
2024-05-23 17:15:43 +01:00
2024-05-31 15:49:12 -07:00
2024-05-27 15:30:04 +01:00
2024-05-16 11:29:59 +10:00

Homebrew Ruby API

This is the API for Homebrew.

The main class you should look at is the {Formula} class (and classes linked from there). That's the class that's used to create Homebrew formulae (i.e. package descriptions). Assume anything else you stumble upon is private.

You may also find the Formula Cookbook and Ruby Style Guide helpful in creating formulae.

Good luck!