Open curiouslychase opened 5 years ago
Is there documentation on a brewfile?
If be interested in seeing how this would work!
Yep! https://github.com/Homebrew/homebrew-bundle
https://github.com/Homebrew/homebrew-bundle/blob/master/README.md#usage
bundle
is in brew
core but I don't know how many people other than me use it 😅
I have interest in helping with this. It solves a need for me.
okay. Feel free to contribute something. Let me know if you need help with getting set up.
I think the first bikeshed would be: what does a "Fishfile" (or some other name) look like? Would it be Lua?
The Brewfile is a Ruby DSL:
brew 'forumula-name', :option1, option2: 'with-arg'
cask 'cask-name', :option1, option2: 'with-arg'
Come up with a proof of concept first. Then we can bikeshed over the nitty-gritty.
I looked at the docs and skimmed the code and didn't see anything, but I'm curious if there's an equivalent to
Brewfile
. With aBrewfile
you can define your dependencies in a list and runbrew bundle
from the same directory that theBrewfile
lives in and it will install all of the dependencies listed there.If this functionality doesn't exist, would it be cool to PR adding it?