Sam Ford af02d94f73
style: fix tap checking
`brew style` tap support was broken in 7d0ac4d (#17357), so now
something like `brew style homebrew/core` exits without checking
anything. This happens because the new file-handling logic doesn't
do anything with a tap path. Previously, a tap path would be added
to `ruby_files` but now it isn't added to any of the arrays of files
to check.

This fixes the issue by adding some logic to add the path to the
`ruby_files` array if it's a tap.
2024-06-13 09:26:41 +01:00
..
2024-05-23 17:15:43 +01:00
2024-06-13 11:44:14 +08:00
2024-05-23 00:11:53 +00:00
2024-05-23 17:15:43 +01:00
2024-06-11 02:59:31 +01:00
2024-05-02 09:40:09 +02:00
2024-05-23 17:15:43 +01: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-06-11 23:03:53 +01: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-17 23:57:46 +09: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-04-01 09:59:47 -07:00
2024-05-23 17:15:43 +01:00
2024-05-31 15:49:12 -07:00
2024-06-13 09:26:41 +01:00
2024-06-11 23:03:53 +01: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!