Sam Ford 1d404e437b
dev-cmd/livecheck: avoid watchlist in test
The existing watchlist test in `dev-cmd/livecheck_spec.rb` will only
pass if the testing environment doesn't contain a livecheck watchlist
file. When a watchlist file is present, it ends up being treated as
empty (formulae and casks aren't available in tests) and produces an
`Invalid usage: No formulae or casks to check` error instead. We don't
have to worry about a watchlist file on CI but it's a potential issue
when running `brew test` locally.

This provides a bogus `HOMEBREW_LIVECHECK_WATCHLIST` value to the
`#brew` call, to ensure that any watchlist file in the testing
environment is not used for this test.

Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2023-08-16 15:08:34 -04:00
..
2023-08-12 22:01:22 -07:00
2023-08-04 16:43:13 +01:00
2023-06-19 00:12:59 +00:00
2023-08-10 16:27:37 +01:00
2023-08-12 22:01:22 -07:00
2023-08-16 00:25:52 +00:00
2023-08-16 01:34:16 +01:00
2023-08-16 01:34:19 +01:00
2023-08-12 22:01:22 -07:00
2023-08-16 12:01:25 +01:00
2023-04-24 20:42:39 -07:00
2023-05-12 21:17:30 +02:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-08-12 22:01:22 -07:00
2023-07-04 13:31:58 +01:00
2023-07-18 08:52:49 -07:00
2023-05-17 15:26:46 +02:00
2023-08-04 16:43:13 +01:00
2023-08-12 22:01:22 -07:00
2023-07-06 16:56:20 +01:00
2023-08-04 16:43:13 +01:00
2023-04-24 20:42:39 -07:00
2023-05-20 19:28:29 +02:00
2023-08-04 16:43:13 +01:00
2023-04-24 14:03:55 +01:00
2023-08-16 01:34:19 +01:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-07-18 10:59:27 +01:00
2023-06-24 11:09:28 +01:00
2023-04-24 20:42:39 -07:00
2023-04-27 05:15:43 +01:00
2023-04-24 20:42:39 -07:00
2023-05-06 03:27:42 +02:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-05-12 21:17:30 +02:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07:00
2023-05-09 05:08:38 +02:00
2023-04-24 20:42:39 -07:00
2023-07-06 16:56:20 +01:00
2023-08-04 16:43:13 +01:00
2023-04-25 09:26:24 -07:00
2023-05-09 01:13:55 +02:00
2023-04-24 20:42:38 -07:00
2023-04-24 20:42:39 -07:00
2023-08-12 22:01:22 -07:00
2023-04-24 20:42:39 -07:00
2023-05-11 12:33:27 +01:00
2023-08-12 22:01:22 -07:00
2023-08-10 16:08:47 +01:00
2023-04-24 20:42:39 -07:00
2023-04-24 20:42:39 -07: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!