Skip to content

Commit

Permalink
brew unbottled: skip deprecated formulae
Browse files Browse the repository at this point in the history
We are not interested in bottling them
  • Loading branch information
iMichka committed Oct 17, 2023
1 parent c0c8a4d commit 651cef6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Library/Homebrew/dev-cmd/unbottled.rb
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,10 @@ def formulae_all_installs_from_args(args, all)
all_formulae = Formula.all(eval_all: args.eval_all?)
end

# Remove deprecated formulae as we do not care if they are unbottled
formulae = formulae&.select {|formula| !(formula.deprecated?)}
all_formulae = all_formulae&.select {|formula| !(formula.deprecated?)}

[formulae, all_formulae, formula_installs]
end

Expand Down

0 comments on commit 651cef6

Please sign in to comment.