Query homebrew for package list on macOS#140
Query homebrew for package list on macOS#140anthroid wants to merge 1 commit intodylanaraps:masterfrom
Conversation
|
What does this do for execution times? How long does it take to fetch packages now? |
Nothing. Right now it doesn't return any packages on Apple Silicon because the path glob is hard-coded to
If I run the current version 100x in a loop, then swap out the path with |
|
Also, one other thing - The exact same command is run a few lines above this under Linux. |
Query
brewfor package list instead of using the hard-coded/usr/local/Cellar/*path. The homebrew installation path is configurable, and for instance, uses/opt/homebrewon Apple Silicon (https://docs.brew.sh/FAQ#why-is-the-default-installation-prefix-opthomebrew-on-apple-silicon).