Carlo Cabrera 25fe428ed2
system_config: fix clang version output on Linux
If you have Homebrew LLVM installed, `brew config` will show

    Clang: 12.0.1 build (parse error)

because Homebrew LLVM does not give a build number. Some installations
from the system package manager do have this information, so let's show
it if it's available but skip complaining if not.

I've kept the original code for macOS because we always expect Apple's
build number to show there.
2021-10-07 11:24:20 +08:00
..
2021-09-11 01:00:23 +01:00
2021-08-09 00:06:27 +00:00
2021-10-05 22:02:54 +09:00
2021-09-22 20:30:32 +08:00
2021-09-11 01:00:23 +01:00
2021-10-04 22:22:20 +08:00
2021-09-11 01:00:23 +01:00
2021-10-04 18:08:49 +00:00
2021-08-06 14:03:00 +01:00
2021-09-07 14:13:19 -04:00
2021-09-30 12:54:31 -07:00
2021-07-19 10:02:19 +08:00
2021-09-11 01:00:23 +01:00
2021-09-10 03:08:21 +01:00
2021-10-04 18:08:49 +00:00
2021-09-11 01:00:23 +01:00
2021-09-11 01:00:23 +01:00
2021-06-15 12:52:39 +01:00
2021-09-07 19:49:01 -07:00
2021-09-09 17:37:49 -07:00
2021-09-11 01:00:23 +01:00
2021-09-11 01:00:23 +01:00
2021-09-30 10:13:53 +01:00
2021-09-20 14:12:30 +01:00
2021-08-06 14:03:00 +01: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!