summaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
authorColin Kennedy <moshen.colin@gmail.com>2016-10-03 16:39:34 -0500
committerColin Kennedy <moshen.colin@gmail.com>2016-10-03 22:30:26 -0500
commit95f552fc069b6cacdcdd7a3c7eff4dacb0965325 (patch)
tree3ea1bd2dffb90f5d6c44443b4749378359c64f03 /pkg
parent47efea234fbeff87399197ef75d0b0613d11c658 (diff)
Fix brew formula name to not conflict with core
Since the homebrew-core formula was accepted, we should differentiate the prebuilt formula available in this tap
Diffstat (limited to 'pkg')
-rw-r--r--pkg/brew/ripgrep-bin.rb (renamed from pkg/brew/ripgrep.rb)4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkg/brew/ripgrep.rb b/pkg/brew/ripgrep-bin.rb
index 70befd6b..736bcbf9 100644
--- a/pkg/brew/ripgrep.rb
+++ b/pkg/brew/ripgrep-bin.rb
@@ -1,10 +1,12 @@
-class Ripgrep < Formula
+class RipgrepBin < Formula
version '0.2.1'
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 "f8b208239b988708da2e58f848a75bf70ad144e201b3ed99cd323cc5a699625f"
+ conflicts_with "ripgrep"
+
def install
bin.install "rg"
man1.install "rg.1"