Skip to content

Commit 25d2ec4

Browse files
authored
Update installation instructions in README.md
A change of behaviour in Go 1.18 means that `go get` no longer builds and installs the packages it downloads, so we also need to an instruction to run `go install`.
1 parent d0e8ca3 commit 25d2ec4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ The general usage pattern if vendoring is desired will look something like:
1212
```sh
1313
PATH="$PATH:$GOPATH/bin"
1414
GO111MODULES=off go get github.com/github/depstubber
15+
GO111MODULES=off go install github.com/github/depstubber # Only needed for Go 1.18 and above
1516
go mod tidy # required to generate go.sum
1617
# generate a vendor/module.txt for the go 1.24 vendor consistency check
1718
depstubber -write_module_txt

0 commit comments

Comments
 (0)