From a245eea674078f9dba78a75ff7cb293fb69fd87b Mon Sep 17 00:00:00 2001 From: Thierry Moisan Date: Wed, 8 Apr 2020 09:14:45 -0400 Subject: [PATCH] docs/Formula-Cookbook.md: mention the use of 'bottle :unneeded' --- docs/Formula-Cookbook.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/Formula-Cookbook.md b/docs/Formula-Cookbook.md index 3c22509af6..0bbbb94a86 100644 --- a/docs/Formula-Cookbook.md +++ b/docs/Formula-Cookbook.md @@ -96,6 +96,8 @@ You’re now at a new prompt with the tarball extracted to a temporary sandbox. Check the package’s `README`. Does the package install with `./configure`, `cmake`, or something else? Delete the commented out `cmake` lines if the package uses `./configure`. +If no compilation is involved, add the line `bottle :unneeded` since bottles are unnecessary in that case. Otherwise, a `bottle` block will be added by Homebrew's CI upon merging the formula pull-request. + ### Check for dependencies The `README` probably tells you about dependencies and Homebrew or macOS probably already has them. You can check for Homebrew dependencies with `brew search`. Some common dependencies that macOS comes with: