Skip to content

Commit

Permalink
Merge pull request #1565 from Homebrew/brew_bundle_exec_deps
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcQuaid authored Jan 16, 2025
2 parents 2a3825b + 162930f commit 260cb23
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions lib/bundle/commands/exec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,11 @@ def run(*args, global: false, file: nil)
require "formula"
require "formulary"

ENV.deps = @dsl.entries.map do |entry|
ENV.deps = @dsl.entries.filter_map do |entry|
next if entry.type != :brew

f = Formulary.factory(entry.name)
[f, f.recursive_dependencies.map(&:to_formula)]
end.flatten.compact
Formulary.factory(entry.name)
end
ENV.keg_only_deps = ENV.deps.select(&:keg_only?)
ENV.setup_build_environment

Expand Down

0 comments on commit 260cb23

Please sign in to comment.