1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2025-08-02 21:21:58 -07:00
Files
ripgrep/pkg/brew/ripgrep-bin.rb
2017-01-18 18:39:11 -05:00

19 lines
605 B
Ruby

class RipgrepBin < Formula
version '0.4.0'
desc "Search tool like grep and The Silver Searcher."
homepage "https://github.com/BurntSushi/ripgrep"
url "https://github.com/BurntSushi/ripgrep/releases/download/#{version}/ripgrep-#{version}-x86_64-apple-darwin.tar.gz"
sha256 "6ac71251909227f8ef7eda27d3080c954843f3665b81e455362c90b2a9c4734a"
conflicts_with "ripgrep"
def install
bin.install "rg"
man1.install "rg.1"
bash_completion.install "completion/rg.bash-completion"
fish_completion.install "completion/rg.fish"
zsh_completion.install "completion/_rg"
end
end