diff options
| author | Xu Cheng | 2016-03-04 19:21:53 +0800 |
|---|---|---|
| committer | Xu Cheng | 2016-03-05 19:52:12 +0800 |
| commit | a2d0d88bf1915734e1540bef4c9d6c1b403379c7 (patch) | |
| tree | 48ac1e84ccfeabd33890716a92eab2df7959b4c7 /Library/Homebrew/cmd | |
| parent | 59536356b6fe4f571dd189faa8be88541b5463a7 (diff) | |
| download | brew-a2d0d88bf1915734e1540bef4c9d6c1b403379c7.tar.bz2 | |
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.
Diffstat (limited to 'Library/Homebrew/cmd')
0 files changed, 0 insertions, 0 deletions
