Carlo Cabrera f816a39d1f
cask/artifact/abstract_uninstall: fix trash_paths
This is currently behaving incorrectly when calling `trash.swift` fails
due to lack of permissions. In this instance, `trash.swift` prints

    error: permissionDenied

to stdout, and this is incorrectly parsed as having successfully trashed
a file named `error` and another named ` permissionDenied`.

Let's fix this by ensuring that:
- any paths in `trashed` are in the `paths` that we wanted to trash in
  the first place
- define `untrashable` by removing the `trashed` paths from `paths`
2025-04-24 18:03:07 +08:00
..
2025-02-06 21:04:08 -08:00
2024-12-31 00:15:10 +00:00
2025-03-27 03:38:09 +00:00
2025-01-19 12:32:55 +01:00
2025-04-23 10:09:45 +02:00
2025-04-22 13:00:19 -07:00
2025-04-22 11:50:08 -07:00
2025-03-31 17:55:07 +01:00
2025-04-22 22:31:45 +02:00
2025-04-22 11:50:08 -07:00
2025-04-24 00:12:35 +00:00
2025-04-22 11:50:08 -07:00
2025-04-16 09:26:13 -07:00
2025-02-04 16:27:39 +00:00
2025-04-14 19:10:58 +01:00
2025-02-17 18:56:31 -08:00
2025-04-23 10:09:45 +02:00
2025-04-15 23:02:00 +01:00
2025-02-16 13:26:10 -08:00
2024-11-26 14:09:13 -08:00
2025-04-03 12:47:21 +01:00
2025-03-30 18:15:00 +02:00
2025-02-06 21:04:08 -08:00
2025-04-22 11:50:08 -07:00
2025-04-24 00:12:35 +00:00
2025-02-17 18:56:31 -08:00
2025-02-04 16:27:39 +00:00
2024-10-05 12:18:29 -07:00
2024-12-11 11:04:55 -08:00
2025-04-16 16:22:36 +01:00
2024-12-05 14:01:37 +00:00
2025-02-04 16:27:39 +00:00
2025-03-02 21:36:03 -08:00
2025-01-07 17:40:18 +00:00
2024-12-07 10:35:33 -08:00
2025-03-31 17:55:07 +01:00
2025-03-27 03:38:09 +00:00
2025-03-02 21:36:03 -08:00
2025-02-24 11:57:20 -08:00
2025-02-17 19:11:48 -08: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!