Carlo Cabrera d14accee39
brew.sh: fix some stderr redirections to /dev/null
The order matters here (in a way that I can't explain, unfortunately).

Example:

    bash-3.2$ read -r FOO <nonexistent 2>/dev/null
    bash: nonexistent: No such file or directory

    bash-3.2$ read -r FOO 2>/dev/null <nonexistent
    # no output

Fixes Homebrew/discussions#5653.
2024-10-04 16:36:35 +08:00
..
2024-09-04 22:54:25 +02:00
2024-10-02 10:03:12 -07:00
2024-10-02 10:03:12 -07:00
2024-08-20 00:13:23 +00:00
2024-10-02 10:03:48 -07:00
2024-10-03 19:55:45 +00:00
2024-10-02 10:03:12 -07:00
2024-10-04 07:25:43 +00:00
2024-09-26 23:22:01 -07:00
2024-08-12 17:36:14 +01:00
2024-08-14 22:56:26 -04:00
2024-09-05 03:37:25 +01:00
2024-10-04 16:00:29 +08:00
2024-10-02 10:03:12 -07:00
2024-10-02 10:03:12 -07:00
2024-08-18 19:03:26 -04:00
2024-09-26 14:32:55 -04:00
2024-09-07 14:45:30 +02:00
2024-10-02 10:03:12 -07:00
2024-10-02 10:03:12 -07:00
2024-09-26 14:48:32 -04:00
2024-10-02 10:03:12 -07:00
2024-10-04 07:25:43 +00:00
2024-10-02 10:03:12 -07:00
2024-08-18 21:20:23 -06:00
2024-09-04 22:54:20 +02:00
2024-09-26 16:19:11 -04:00
2024-09-25 08:56:33 +01:00
2024-09-04 22:54:21 +02:00
2024-09-17 12:43:28 +09:00
2024-10-02 10:03:12 -07:00
2024-09-25 16:49:46 +08:00
2024-08-10 16:43:37 +01:00
2024-09-20 11:07:00 -07:00
2024-08-20 15:33:08 +01:00
2024-08-19 09:56:50 -07:00
2024-09-27 12:31:59 -04: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!