Xu Cheng 6aa7b47ae1
scm shim: handle edge case
Since #4748 `HOMEBREW_GIT` is set by the `brew.sh`, whose value is default to be `git`.
As a result, it completely bypasses the logic of the shims/scm/git.

This fixes the issue by checking whether `HOMEBREW_GIT` and
`HOMEBREW_SVN` are set to be `git` and `svn` respectively.

Fixes #4825.
2018-09-05 16:01:36 +08:00
..
2018-09-05 01:39:30 +02:00
2018-09-04 09:56:58 +01:00
2018-09-04 09:56:58 +01:00
2018-09-04 05:16:59 +02:00
2018-09-05 16:01:36 +08:00
2018-09-02 20:15:09 +01:00
2018-07-26 10:09:02 +01:00
2018-08-23 11:50:42 -04:00
2018-07-26 10:49:07 +01:00
2018-09-04 09:56:57 +01:00
2018-09-02 20:15:09 +01:00
2018-09-02 20:15:09 +01:00
2018-09-02 20:15:09 +01:00
2018-09-02 20:15:09 +01:00
2018-07-30 21:07:42 +02:00
2018-09-02 20:15:09 +01:00
2018-09-02 20:15:09 +01:00
2018-09-04 05:16:59 +02:00
2018-09-02 16:15:09 +01:00
2018-09-04 05:16:59 +02:00
2018-09-04 05:16:59 +02:00
2018-07-23 19:58:39 +01:00
2018-09-04 09:58:58 +01:00
2018-09-02 20:15:09 +01: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!