Shaun Jackman 5cb458d687 install_symlink_p: Fix when dest includes a symlink
install_symlink_p does not work as intended when dst includes a symlink in its path.
relative_path_from requires that both src and dst be real paths without symlinks.

From https://ruby-doc.org/stdlib-2.3.7/libdoc/pathname/rdoc/Pathname.html#method-i-relative_path_from
This method doesn't access the filesystem. It assumes no symlinks.
2019-03-16 23:11:59 -07:00
..
2019-02-27 14:02:46 +00:00
2019-01-23 21:57:40 +00:00
2019-03-11 20:14:03 +11:00
2019-03-14 12:57:49 +00:00
2019-01-28 19:31:21 +00:00
2019-03-13 08:56:16 +00:00
2019-01-23 21:57:40 +00:00
2018-11-02 17:29:23 +00:00
2019-02-21 21:15:01 -08:00
2019-03-11 12:52:07 -04:00
2019-01-21 19:23:31 +00:00
2018-11-02 17:29:23 +00:00
2019-02-21 12:55:49 +00:00
2018-11-02 17:29:23 +00:00
2018-11-02 17:29:23 +00:00
2018-11-02 17:29:23 +00:00
2019-02-21 12:55:49 +00:00
2019-02-27 18:29:59 +01:00
2019-02-21 12:56:22 +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!