Shaun Jackman 3bcffeae15 tests: Disable tests that require being non-root
Set the environment variable USER=root which is required by
brew tests --only=utils/user

Fix these tests:
rspec ./test/diagnostic_checks_spec.rb:26 # Homebrew::Diagnostic::Checks #check_access_directories
rspec ./test/pathname_spec.rb:120 # Pathname#ensure_writable makes a file writable and restores permissions
rspec ./test/utils/user_spec.rb:22 # User#gui? when the current user is in a console session gui? should equal true
rspec ./test/utils/user_spec.rb:6 # User should eq nil
2019-02-16 12:55:09 -08:00
..
2019-02-15 20:13:05 +00:00
2019-01-23 21:57:40 +00:00
2019-02-04 17:09:31 +01:00
2019-01-28 19:31:21 +00:00
2019-01-28 19:31:21 +00:00
2019-02-11 09:45:54 +00:00
2019-01-28 19:31:21 +00:00
2019-01-23 21:57:40 +00:00
2019-02-15 10:03:53 +00:00
2019-01-23 21:57:40 +00:00
2019-01-28 19:31:21 +00:00
2019-01-30 21:39:29 +00:00
2019-01-21 19:23:31 +00:00
2019-01-28 16:08:23 +00:00
2019-02-05 14:05:57 +00:00
2019-01-23 21:57:40 +00:00
2019-01-23 15:46:03 +00:00
2019-01-25 14:01:10 -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!