2016-10-03 16:39:34 -05:00
|
|
|
class RipgrepBin < Formula
|
2016-11-20 19:55:40 -05:00
|
|
|
version '0.3.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"
|
2016-11-20 19:55:40 -05:00
|
|
|
sha256 "a177195e31a6687e1b0141cbb93bb2fc915a49c4bca26d7094a8144ebdfb3a69"
|
2016-09-21 17:28:19 -04:00
|
|
|
|
2016-10-03 16:39:34 -05:00
|
|
|
conflicts_with "ripgrep"
|
|
|
|
|
2016-09-21 17:28:19 -04:00
|
|
|
def install
|
|
|
|
bin.install "rg"
|
2016-09-22 20:07:43 -04:00
|
|
|
man1.install "rg.1"
|
2016-09-21 17:28:19 -04:00
|
|
|
end
|
|
|
|
end
|