docs/Formula-Cookbook.md: mention the use of 'bottle :unneeded'

This commit is contained in:
Thierry Moisan 2020-04-08 09:14:45 -04:00
parent 2ae26808a6
commit a245eea674
No known key found for this signature in database
GPG Key ID: A9A4CB593D38CDD0

View File

@ -96,6 +96,8 @@ Youre now at a new prompt with the tarball extracted to a temporary sandbox.
Check the packages `README`. Does the package install with `./configure`, `cmake`, or something else? Delete the commented out `cmake` lines if the package uses `./configure`. Check the packages `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 ### 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: 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: