Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add brew-find-not-bottled command #134

Merged
merged 1 commit into from Jan 10, 2020
Merged

Add brew-find-not-bottled command #134

merged 1 commit into from Jan 10, 2020

Conversation

@dawidd6
Copy link
Member

dawidd6 commented Jan 5, 2020

With this script, one can easily find a list of formulae that do not have a linux bottle. It will filter out those formulae that are marked as bottle :unneeded. Also as an option, one can pass an additional regexp that must be found in a formula or not.

I know this could be done with just plain grep, but I think it is nice to have it here already in place ready to use.

@dawidd6 dawidd6 force-pushed the dawidd6:find branch from b50d336 to de12d3a Jan 5, 2020

next if found.positive?

formula.split("/").last.delete_suffix(".rb")

This comment has been minimized.

Copy link
@issyl0

issyl0 Jan 5, 2020

Member

How did I only just learn about delete_suffix? 😍

@dawidd6 dawidd6 merged commit c07ced5 into Homebrew:master Jan 10, 2020
1 check passed
1 check passed
test
Details
@dawidd6 dawidd6 deleted the dawidd6:find branch Jan 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.