Skip to content

Commit 4d9b548

Browse files
authored
use 'go get' instead of 'go install' to install (#449)
1 parent b850b44 commit 4d9b548

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ This document is formatted according to the principles of [Keep A CHANGELOG](htt
1010

1111
## [Unreleased]
1212

13+
### Changed
14+
15+
- suggest to use `go install` instead of the deprecated `go get` to install the `godog` binary ([449](https://github.com/cucumber/godog/pull/449) - [dmitris](https://github.com/dmitris))
16+
1317
### Fixed
1418

1519
- After Scenario hook is called before After Step ([444](https://github.com/cucumber/godog/pull/444) - [vearutop])

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,11 @@ When automated testing is this much fun, teams can easily protect themselves fro
4545

4646
## Install
4747
```
48-
go get github.com/cucumber/godog/cmd/[email protected]
48+
go install github.com/cucumber/godog/cmd/[email protected]
4949
```
5050
Adding `@v0.12.0` will install v0.12.0 specifically instead of master.
5151

52+
With `go` version prior to 1.17, use `go get github.com/cucumber/godog/cmd/[email protected]`.
5253
Running `within the $GOPATH`, you would also need to set `GO111MODULE=on`, like this:
5354
```
5455
GO111MODULE=on go get github.com/cucumber/godog/cmd/[email protected]
@@ -603,4 +604,4 @@ A simple example can be [found here](/_examples/custom-formatter).
603604
[cucumber]: https://cucumber.io/ "Behavior driven development framework"
604605
[license]: https://en.wikipedia.org/wiki/MIT_License "The MIT license"
605606
[contributing guide]: https://github.com/cucumber/godog/blob/main/CONTRIBUTING.md
606-
[community Slack]: https://cucumber.io/community#slack
607+
[community Slack]: https://cucumber.io/community#slack

0 commit comments

Comments
 (0)