File tree 3 files changed +6
-13
lines changed
3 files changed +6
-13
lines changed Original file line number Diff line number Diff line change
1
+ pkg/brew
Original file line number Diff line number Diff line change @@ -97,12 +97,11 @@ but you'll need to have the
97
97
[ Microsoft VC++ 2015 redistributable] ( https://www.microsoft.com/en-us/download/details.aspx?id=48145 )
98
98
installed.
99
99
100
- If you're a ** Homebrew** user, then you can install it with a custom formula
101
- (N.B. ` ripgrep ` isn't actually in Homebrew yet. This just installs the binary
102
- directly):
100
+ If you're a ** Homebrew** user, then you can install it with a custom tap:
103
101
104
102
```
105
- $ brew install https://raw.githubusercontent.com/BurntSushi/ripgrep/master/pkg/brew/ripgrep.rb
103
+ $ brew tap burntsushi/ripgrep https://github.com/BurntSushi/ripgrep.git
104
+ $ brew install burntsushi/ripgrep/ripgrep
106
105
```
107
106
108
107
If you're an ** Arch Linux** user, then you can install ` ripgrep ` from the official repos:
Original file line number Diff line number Diff line change 1
- require 'formula'
2
1
class Ripgrep < Formula
3
2
version '0.2.1'
4
3
desc "Search tool like grep and The Silver Searcher."
5
4
homepage "https://github.com/BurntSushi/ripgrep"
6
-
7
- if Hardware ::CPU . is_64_bit?
8
- url "https://github.com/BurntSushi/ripgrep/releases/download/#{ version } /ripgrep-#{ version } -x86_64-apple-darwin.tar.gz"
9
- sha256 "f8b208239b988708da2e58f848a75bf70ad144e201b3ed99cd323cc5a699625f"
10
- else
11
- url "https://github.com/BurntSushi/ripgrep/releases/download/#{ version } /ripgrep-#{ version } -i686-apple-darwin.tar.gz"
12
- sha256 "3880ffbc169ea7a884d6c803f3b227a9a3acafff160cdaf830f930e065ae2b38"
13
- end
5
+ url "https://github.com/BurntSushi/ripgrep/releases/download/#{ version } /ripgrep-#{ version } -x86_64-apple-darwin.tar.gz"
6
+ sha256 "f8b208239b988708da2e58f848a75bf70ad144e201b3ed99cd323cc5a699625f"
14
7
15
8
def install
16
9
bin . install "rg"
You can’t perform that action at this time.
0 commit comments