Skip to content

Commit 351619a

Browse files
committed
Update installation instructions
1 parent 9719a4a commit 351619a

File tree

1 file changed

+30
-18
lines changed

1 file changed

+30
-18
lines changed

README.md

Lines changed: 30 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,36 +2,48 @@
22

33
## To install this fork
44

5-
cd /
6-
GO111MODULE=on go get -u github.com/junkblocker/codesearch/cmd/...
5+
### With Go 1.16 or newer
76

8-
## Prebuilt binaries
7+
``` shell
8+
cd /
9+
go install github.com/junkblocker/codesearch/cmd/...@latest
10+
```
11+
12+
### With Go 1.15 or older
913

10-
New releases [https://github.com/junkblocker/codesearch/releases](https://github.com/junkblocker/codesearch/releases)
14+
``` shell
15+
cd /
16+
GO111MODULE=on go get -u github.com/junkblocker/codesearch/cmd/...
17+
```
18+
19+
## Prebuilt binaries
1120

12-
Old releases [https://github.com/junkblocker/codesearch-pre-github/releases](https://github.com/junkblocker/codesearch-pre-github/releases)
21+
* New releases [https://github.com/junkblocker/codesearch/releases](https://github.com/junkblocker/codesearch/releases)
22+
* Old releases [https://github.com/junkblocker/codesearch-pre-github/releases](https://github.com/junkblocker/codesearch-pre-github/releases)
1323

1424
### Old fork pre-"Google on Github" days
1525

1626
[https://github.com/junkblocker/codesearch-pre-github](https://github.com/junkblocker/codesearch-pre-github)
1727

1828
## Original Google codesearch README content
1929

20-
Code Search is a tool for indexing and then performing
21-
regular expression searches over large bodies of source code.
22-
It is a set of command-line programs written in Go.
23-
Binary downloads are available for those who do not have Go installed.
24-
See https://github.com/google/codesearch.
30+
``` text
31+
Code Search is a tool for indexing and then performing
32+
regular expression searches over large bodies of source code.
33+
It is a set of command-line programs written in Go.
34+
Binary downloads are available for those who do not have Go installed.
35+
See https://github.com/google/codesearch.
2536
26-
For background and an overview of the commands,
27-
see http://swtch.com/~rsc/regexp/regexp4.html.
37+
For background and an overview of the commands,
38+
see http://swtch.com/~rsc/regexp/regexp4.html.
2839
29-
To install:
40+
To install:
3041
31-
go get github.com/google/codesearch/cmd/...
42+
go get github.com/google/codesearch/cmd/...
3243
33-
Use "go get -u" to update an existing installation.
44+
Use "go get -u" to update an existing installation.
3445
35-
Russ Cox
36-
37-
June 2015
46+
Russ Cox
47+
48+
June 2015
49+
```

0 commit comments

Comments
 (0)