Mike McQuaid cb3a47d9e2 Fix brew tests on High Sierra.
The `brew test` tests were failing as they were unable to include
`test/unit/assertions`. This is because it's a gem and we were setting
the `GEM_HOME` so system gems were being ignored.

While I was there and examining the `$LOAD_PATH`: reduce the number of
things we add there by using `Bundler.with_clean_env` and only adding
`HOMEBREW_LIBRARY_PATH` in the `$LOAD_PATH` if it isn't already there
(which it always is [and has to be] for integration tests).

This also seems to have the side effect of speeding up integration
tests from 1m26s to 1m8s on my machine.
2017-07-07 15:20:19 +01:00
..
2017-07-05 13:03:39 -07:00
2017-06-22 18:22:54 +01:00
2017-06-07 23:37:59 -05:00
2017-07-07 15:20:19 +01:00
2017-07-07 15:20:19 +01:00
2017-06-07 16:34:54 +01:00
2017-07-05 20:51:51 +02:00
2017-06-02 19:22:05 +02:00
2017-06-02 19:22:05 +02:00
2017-06-30 20:25:18 +05:30
2017-06-02 19:22:05 +02:00
2017-06-02 19:22:05 +02:00
2017-06-02 19:22:05 +02:00
2017-06-14 12:51:36 +02:00

Homebrew's Formula API

This is the (partially) documented 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!