use 'go get' instead of 'go install' to install (#449)
Этот коммит содержится в:
родитель
b850b44b48
коммит
4d9b548d61
2 изменённых файлов: 7 добавлений и 2 удалений
|
@ -10,6 +10,10 @@ This document is formatted according to the principles of [Keep A CHANGELOG](htt
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- 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))
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
- After Scenario hook is called before After Step ([444](https://github.com/cucumber/godog/pull/444) - [vearutop])
|
- After Scenario hook is called before After Step ([444](https://github.com/cucumber/godog/pull/444) - [vearutop])
|
||||||
|
|
|
@ -45,10 +45,11 @@ When automated testing is this much fun, teams can easily protect themselves fro
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
```
|
```
|
||||||
go get github.com/cucumber/godog/cmd/godog@v0.12.0
|
go install github.com/cucumber/godog/cmd/godog@v0.12.0
|
||||||
```
|
```
|
||||||
Adding `@v0.12.0` will install v0.12.0 specifically instead of master.
|
Adding `@v0.12.0` will install v0.12.0 specifically instead of master.
|
||||||
|
|
||||||
|
With `go` version prior to 1.17, use `go get github.com/cucumber/godog/cmd/godog@v0.12.0`.
|
||||||
Running `within the $GOPATH`, you would also need to set `GO111MODULE=on`, like this:
|
Running `within the $GOPATH`, you would also need to set `GO111MODULE=on`, like this:
|
||||||
```
|
```
|
||||||
GO111MODULE=on go get github.com/cucumber/godog/cmd/godog@v0.12.0
|
GO111MODULE=on go get github.com/cucumber/godog/cmd/godog@v0.12.0
|
||||||
|
|
Загрузка…
Создание таблицы
Сослаться в новой задаче