1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2025-06-25 14:22:54 +02:00
Files
ripgrep/pkg/brew/ripgrep-bin.rb

19 lines
595 B
Ruby
Raw Normal View History

class RipgrepBin < Formula
2017-03-12 22:55:59 -04:00
version '0.5.0'
2016-09-21 17:28:19 -04:00
desc "Search tool like grep and The Silver Searcher."
homepage "https://github.com/BurntSushi/ripgrep"
2016-09-26 12:53:19 -05:00
url "https://github.com/BurntSushi/ripgrep/releases/download/#{version}/ripgrep-#{version}-x86_64-apple-darwin.tar.gz"
2017-03-13 06:50:45 -04:00
sha256 "5bfa8872c4f2a5d010ddec1c213d518056e62d4dd3b3f23a0ef099b85343dbdd"
2016-09-21 17:28:19 -04:00
conflicts_with "ripgrep"
2016-09-21 17:28:19 -04:00
def install
bin.install "rg"
man1.install "rg.1"
2017-03-12 22:55:59 -04:00
2017-01-19 13:49:39 +01:00
bash_completion.install "complete/rg.bash-completion"
fish_completion.install "complete/rg.fish"
zsh_completion.install "complete/_rg"
2016-09-21 17:28:19 -04:00
end
end