I was going through some of the configuration files for CircleCI and noticed that we might be able to slim down our setup for contributors and CI by using a Brewfile. It functions much like a Gemfile, but with out the .lock portion.
The brew bundle command can then be used anywhere in the project that might require all those to be installed such as new contributors or CI. The file can also serve as documentation for what's required in this project. Usage of this file is already part of Homebrew so we won't need to add anything extra to the project apart from this file itself.
Hey there!
I was going through some of the configuration files for CircleCI and noticed that we might be able to slim down our setup for contributors and CI by using a
Brewfile
. It functions much like aGemfile
, but with out the.lock
portion.Let's take this for example: https://github.com/MetaMask/metamask-mobile/blob/f1d8e10db0dea3c779e0e89da22964930000c254/.circleci/config.yml#L83
We'd be able to condense most of the brew install to just:
The
brew bundle
command can then be used anywhere in the project that might require all those to be installed such as new contributors or CI. The file can also serve as documentation for what's required in this project. Usage of this file is already part of Homebrew so we won't need to add anything extra to the project apart from this file itself.Thoughbot's post on Brewfile.
So what do all of you think?