Xu Cheng a2d0d88bf1 CoreFormulaRepository: move require statements to the top
This commit will help to mitigate bug Homebrew/homebrew#42553 on certain old Homebrew installations
(e.g. `osx_image: xcode6.4` on Travis CI) for future core/formula
separation.

On that particular Homebrew installations, `formulary.rb` will be loaded after
`git pull` is finished during `brew update`, which will then load `core_formular_repository.rb`.

By introducing `require "tap_migrations"` and `require "formula_renames"` at the top of
`core_formular_repository.rb`, we could use `tap_migrations.rb` as a
vector to preform certain hack for future core/formula separation.
2016-03-05 19:52:12 +08:00
..
2016-02-26 18:42:36 +08:00
2015-12-26 23:00:38 +01:00
2016-02-11 20:32:22 +00:00
2015-12-09 16:56:59 +08:00
2016-01-04 13:17:21 +01:00
2016-01-03 19:08:11 +00:00
2016-02-26 17:00:17 +08:00
2016-01-19 12:54:00 +00:00
2016-02-26 17:00:17 +08:00
2016-02-02 18:08:13 +00:00
2016-02-06 14:20:56 -08:00
2016-01-13 21:37:22 +01:00
2016-01-15 16:26:04 +08:00
2016-02-21 04:24:34 +00:00
2016-02-26 18:42:36 +08: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!