Markus Reiter cbc9e5dd3b tests: re-use with_environment in using_git_env
Proposed by @reitermarkus in
https://github.com/Homebrew/brew/pull/1890#discussion_r97210285.

I made one slight adjustment of preserving the previous date string in
case anything was relying on it.
2017-01-22 19:53:58 +00:00
..
2017-01-17 11:18:45 +00:00
2017-01-16 20:35:56 +00:00
2017-01-16 20:35:56 +00:00
2016-12-20 10:22:30 +00:00
2016-12-30 20:20:13 +00:00
2016-12-30 20:20:13 +00:00
2017-01-04 11:13:41 +00:00
2017-01-04 11:13:41 +00:00
2016-12-20 10:22:30 +00:00
2016-12-30 20:20:13 +00:00
2016-12-13 01:53:05 +00: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!