Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions Library/Homebrew/formula.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4103,9 +4103,11 @@ def resource(name, klass = Resource, &block)
# If a dependency is only needed in certain cases:
#
# ```ruby
# depends_on "sqlite" if MacOS.version >= :catalina
# depends_on xcode: :build # If the formula really needs full Xcode to compile.
# depends_on macos: :sequoia # Needs at least macOS Sequoia (15) to run.
# on_tahoe :or_newer do
# depends_on "sqlite"
# end
# ```
#
# It is possible to only depend on something if
Expand Down Expand Up @@ -4373,8 +4375,8 @@ def cxxstdlib_check(check_type)
# encountered on 7.2:
#
# ```ruby
# fails_with :gcc => '7' do
# version '7.1'
# fails_with gcc: "7" do
# version "7.1"
# end
# ```
#
Expand Down
Loading