1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2025-11-23 21:54:45 +02:00

Add brew.

This commit is contained in:
Andrew Gallant
2016-09-21 17:28:19 -04:00
parent b0d8ff6f4a
commit dad73b92eb
2 changed files with 27 additions and 0 deletions

16
pkg/brew/ripgrep.rb Normal file
View File

@@ -0,0 +1,16 @@
require 'formula'
class Ripgrep < Formula
version '0.1.8'
desc "Search tool like grep and The Silver Searcher."
homepage "https://github.com/BurntSushi/ripgrep"
if Hardware::CPU.is_64_bit?
url "https://github.com/BurntSushi/ripgrep/releases/download/#{version}/ripgrep-#{version}-x86_64-apple-darwin.tar.gz"
else
url "https://github.com/BurntSushi/ripgrep/releases/download/#{version}/ripgrep-#{version}-i686-apple-darwin.tar.gz"
end
def install
bin.install "rg"
end
end