boom icon indicating copy to clipboard operation
boom copied to clipboard

homebrew support

Open iamnewton opened this issue 9 years ago • 4 comments

Any chance you can set this up for homebrew installation? Only reason I ask is the automation homebrew provides for completion installation.

iamnewton avatar Jul 20 '14 16:07 iamnewton

I'd be open to +1 someone's pull on it. I kind of feel like Homebrew might prefer boom to be distributed as a gem rather than adding more overhead to Homebrew. Not sure, though.

holman avatar Jul 20 '14 19:07 holman

@holman yeah, I saw that. Someone tried to create a package, but it appears they rejected it because its already a gem. Wondering why though? Does it not make sense to have both distributions? Is one preferred over the other?

iamnewton avatar Jul 20 '14 20:07 iamnewton

Does it not make sense to have both distributions?

I suspect the Homebrew crew would rather rubygems handle things that are naturally gems. It wouldn't make as much sense to put ALL of rubygems on Homebrew, for example. (Although I couldn't find anything specifically detailing that in their contribution guidelines, either.)

holman avatar Jul 20 '14 20:07 holman

For the record (5 years later), in 2019, on macos 10.14 you can brew install boom-completion and brew install brew-gem then brew-gem install boom (as shown below). I would think would work with linuxbrew as well. I'll test later and update this comment if need be, etc. The zsh-completion is nice as zsh becomes default shell starting with 10.15 aka catalina.

$                       brew install boom-completion
==> Downloading https://github.com/holman/boom/archive/v0.5.0.tar.gz
==> Downloading from https://codeload.github.com/holman/boom/tar.gz/v0.5.0
######################################################################## 100.0%
==> Caveats
Bash completion has been installed to:
  /usr/local/etc/bash_completion.d

zsh completions have been installed to:
  /usr/local/share/zsh/site-functions
==> Summary
🍺  /usr/local/Cellar/boom-completion/0.5.0: 7 files, 11KB, built in 6 seconds


$                        brew install brew-gem
Updating Homebrew...
==> Downloading https://github.com/sportngin/brew-gem/archive/v1.0.0.tar.gz
🍺  /usr/local/Cellar/brew-gem/1.0.0: 10 files, 14.6KB, built in 3 seconds

$                        brew-gem install boom
Updating Homebrew...
==> Installing dependencies for gem-boom: libyaml, [email protected], readline and ruby
==> Installing gem-boom dependency: libyaml 
...
==> Summary
🍺  /usr/local/Cellar/gem-boom/0.5.0: 202 files, 4.4MB, built in 13 seconds
==> gem-boom
Bash completion has been installed to:
  /usr/local/etc/bash_completion.d
$  which boom
/usr/local/bin/boom
$ boom --version
You're running boom 0.5.0. Congratulations!

dukechem avatar Sep 27 '19 12:09 dukechem