fishworks / gofish

Keep your fish fresh! :tropical_fish:
https://gofi.sh
Apache License 2.0
811 stars 64 forks source link

Brewfile equivalent? #140

Open curiouslychase opened 5 years ago

curiouslychase commented 5 years ago

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 a Brewfile you can define your dependencies in a list and run brew bundle from the same directory that the Brewfile 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?

bacongobbler commented 5 years ago

Is there documentation on a brewfile?

If be interested in seeing how this would work!

curiouslychase commented 5 years ago

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 😅

clakeb commented 4 years ago

I have interest in helping with this. It solves a need for me.

bacongobbler commented 4 years ago

okay. Feel free to contribute something. Let me know if you need help with getting set up.

arbourd commented 3 years ago

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'
bacongobbler commented 3 years ago

Come up with a proof of concept first. Then we can bikeshed over the nitty-gritty.