2016-10-03 23:39:34 +02:00
|
|
|
class RipgrepBin < Formula
|
2017-01-14 07:05:05 +02:00
|
|
|
version '0.4.0'
|
2016-09-21 23:28:19 +02:00
|
|
|
desc "Search tool like grep and The Silver Searcher."
|
|
|
|
homepage "https://github.com/BurntSushi/ripgrep"
|
2016-09-26 19:53:19 +02:00
|
|
|
url "https://github.com/BurntSushi/ripgrep/releases/download/#{version}/ripgrep-#{version}-x86_64-apple-darwin.tar.gz"
|
2017-01-14 07:05:05 +02:00
|
|
|
sha256 "6ac71251909227f8ef7eda27d3080c954843f3665b81e455362c90b2a9c4734a"
|
2016-09-21 23:28:19 +02:00
|
|
|
|
2016-10-03 23:39:34 +02:00
|
|
|
conflicts_with "ripgrep"
|
|
|
|
|
2016-09-21 23:28:19 +02:00
|
|
|
def install
|
|
|
|
bin.install "rg"
|
2016-09-23 02:07:43 +02:00
|
|
|
man1.install "rg.1"
|
2017-01-18 02:58:32 +02:00
|
|
|
|
2017-01-19 14:49:39 +02:00
|
|
|
bash_completion.install "complete/rg.bash-completion"
|
|
|
|
fish_completion.install "complete/rg.fish"
|
|
|
|
zsh_completion.install "complete/_rg"
|
2016-09-21 23:28:19 +02:00
|
|
|
end
|
|
|
|
end
|