Mike McQuaid bc0f5ee62a
Library/Homebrew: move stdin ruby scripts to files under utils.
This avoids can avoid UID/EUID related issues with Ruby scripts passed
over `stdin` clashing with Ruby security features.

It's also just a bit nicer to have Ruby scripts in files instead.

While we're here:
- refactor some shared logic into a new `setup-gem-home-bundle-gemfile`
  function in `ruby.sh`
- do some general cleanup of `lock.sh`
- prioritise `flock` over `python` in `lock.sh`
2024-05-02 10:33:42 +01:00
..
2024-04-30 11:01:12 +02:00
2024-04-29 17:42:34 +01:00
2024-04-30 10:52:36 -04:00
2024-04-26 13:20:05 +02:00
2024-04-26 14:04:55 +02:00
2024-04-22 21:16:49 +02:00
2024-04-22 21:16:49 +02:00
2024-04-26 14:04:55 +02:00
2024-04-26 14:04:55 +02:00
2024-04-30 11:01:12 +02: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!