Misty De Meo d9135c5a57 CPU: add ability to check for Rosetta
When running within an Intel terminal, `uname -m` and friends return Intel-based
values for compatibility. An Intel shell will also prefer to launch Intel slices of
programs unless the program is ARM-only.

It's an open question how Homebrew should manage running in Intel mode. Should it
continue to behave as though the Mac is Intel-based, like it does now? Should it
recognize it's ARM-based? Either way, it's useful for us to be able to tell whether
the Mac is running under Rosetta or whether it's a real Intel Mac.
2020-09-01 14:52:37 +01:00
..
2020-08-17 15:02:04 +01:00
2020-08-26 03:13:58 +02:00
2020-09-01 12:49:19 +01:00
2020-08-26 03:13:59 +02:00
2020-09-01 13:59:24 +02:00
2020-08-26 03:13:58 +02:00
2020-08-31 10:09:00 -04:00
2020-08-27 23:29:08 +10:00
2020-08-26 03:17:39 +02:00
2020-09-01 12:52:59 +02:00
2020-08-26 03:13:58 +02:00
2020-08-25 12:15:08 +02:00
2020-08-26 03:13:58 +02:00
2020-08-26 03:13:58 +02:00
2020-08-09 01:34:07 +02:00
2020-08-26 03:13:58 +02:00
2020-08-26 03:13:58 +02:00
2020-08-19 17:12:32 +01:00
2020-08-19 17:12:32 +01:00
2020-08-26 03:13:58 +02:00
2020-08-06 16:14:07 +02:00
2020-08-26 03:13:58 +02:00
2020-08-14 18:50:17 +02:00
2020-08-26 03:13:58 +02:00
2020-08-26 03:13:58 +02:00
2020-08-26 03:13:58 +02:00
2020-08-24 00:22:17 +02:00
2020-08-26 03:13:58 +02:00
2020-08-26 03:13:58 +02:00
2020-08-26 03:13:58 +02:00
2020-08-26 03:13:58 +02:00
2020-08-26 03:13:58 +02:00
2020-08-26 03:13:58 +02:00
2020-08-26 03:13:58 +02:00
2020-08-27 14:03:03 +01:00
2020-08-26 03:13:58 +02:00
2020-08-17 19:17:18 +02:00
2020-08-26 03:13:58 +02:00
2020-08-26 03:13:58 +02:00
2020-08-26 03:13:59 +02:00
2020-08-12 00:45:01 +02:00
2020-08-26 03:13:58 +02:00
2020-08-26 03:13:58 +02:00
2020-08-26 03:13:59 +02:00
2020-08-19 10:40:33 +02:00
2020-08-26 03:13:59 +02:00
2020-08-26 03:13:59 +02:00
2020-08-26 03:13:58 +02:00
2020-08-26 03:13:59 +02:00
2020-08-26 03:13:59 +02:00
2020-08-26 03:13:59 +02:00
2020-08-26 03:13:59 +02:00
2020-08-26 03:13:59 +02:00
2020-08-26 03:13:59 +02:00
2020-08-23 06:40:07 +02:00
2020-08-18 15:58:00 +01:00
2020-08-23 06:40:07 +02:00
2020-08-26 03:13:58 +02:00

Homebrew's Formula API

This is the public 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!