summaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
authorColin Kennedy <moshen.colin@gmail.com>2016-09-26 12:53:19 -0500
committerColin Kennedy <moshen.colin@gmail.com>2016-09-30 12:51:37 -0500
commit67bb4f040f587e0b74e0957f1e6e9480828f1336 (patch)
treede529916f279a7b966f76f21cbca9559b6bbbefe /pkg
parent1df3f0b793dbfc325f18406fda695fcb642797ae (diff)
Make the repo a Homebrew Tap
Diffstat (limited to 'pkg')
-rw-r--r--pkg/brew/ripgrep.rb11
1 files changed, 2 insertions, 9 deletions
diff --git a/pkg/brew/ripgrep.rb b/pkg/brew/ripgrep.rb
index ec3328d5..70befd6b 100644
--- a/pkg/brew/ripgrep.rb
+++ b/pkg/brew/ripgrep.rb
@@ -1,16 +1,9 @@
-require 'formula'
class Ripgrep < Formula
version '0.2.1'
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"
- sha256 "f8b208239b988708da2e58f848a75bf70ad144e201b3ed99cd323cc5a699625f"
- else
- url "https://github.com/BurntSushi/ripgrep/releases/download/#{version}/ripgrep-#{version}-i686-apple-darwin.tar.gz"
- sha256 "3880ffbc169ea7a884d6c803f3b227a9a3acafff160cdaf830f930e065ae2b38"
- end
+ url "https://github.com/BurntSushi/ripgrep/releases/download/#{version}/ripgrep-#{version}-x86_64-apple-darwin.tar.gz"
+ sha256 "f8b208239b988708da2e58f848a75bf70ad144e201b3ed99cd323cc5a699625f"
def install
bin.install "rg"