Skip to content

Commit

Permalink
Use go get for Gomega instead of go install.
Browse files Browse the repository at this point in the history
  • Loading branch information
bdshroyer authored and onsi committed Mar 23, 2022
1 parent 0ededb2 commit b94db09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Ginkgo uses [go modules](https://go.dev/blog/using-go-modules). To add Ginkgo t

```bash
go install -mod=mod github.com/onsi/ginkgo/v2/ginkgo
go install -mod=mod github.com/onsi/gomega/...
go get github.com/onsi/gomega/...
```

This fetches Ginkgo and installs the `ginkgo` executable under `$GOBIN` - you'll want that on your `$PATH`. It also fetches the core Gomega matcher library and its set of supporting libraries. Note that the current supported major version of Ginkgo is `v2`.
Expand Down

0 comments on commit b94db09

Please sign in to comment.