Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: prerequisite make build #296

Merged
merged 2 commits into from
Nov 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 12 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ It can also output xUnit results files.
## Command Line

Download latest binary release from https://github.com/ovh/venom/releases
or just go get it ```go get -u github.com/ovh/venom/cli/venom```

If you want to go get it with: ```go get -u github.com/ovh/venom/cli/venom```, please
check the dependencies in §Hacking section.

```bash
$ venom run -h
Expand Down Expand Up @@ -445,20 +446,21 @@ func (tcc *DefaultTestCaseContext) Close() error {

Methods SetTestCase and GetName are implemented by CommonTestCaseContext

# Dependencies
# Hacking

Individual packages were updated using the rough procedure:
You've developed a new cool feature? Fixed an annoying bug? We'd be happy
to hear from you! Make sure to read [CONTRIBUTING.md](./CONTRIBUTING.md) before.

1. `dep ensure`
2. `dep ensure -update ${PACKAGE}`
3. `dep prune`
4. `go build`
```bash

$ make build

# Hacking
# if you have this error: fatal error: 'sql.h' file not found, you have to install the odbc driver.
# you probably have to install odbc driver, see documentation at. https://github.com/alexbrainman/odbc/wiki

You've developed a new cool feature? Fixed an annoying bug? We'd be happy
to hear from you! Make sure to read [CONTRIBUTING.md](./CONTRIBUTING.md) before.
# example on osx with custom user installation of homebrew:
# $ CGO_CFLAGS="-I$HOME/homebrew/Cellar/unixodbc/2.3.9/include" CGO_LDFLAGS="-L$HOME/homebrew/lib" make build
```

# License

Expand Down
4 changes: 1 addition & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,11 @@ require (
github.com/Shopify/sarama v1.27.1
github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d
github.com/alexbrainman/odbc v0.0.0-20200426075526-f0492dfa1575
github.com/bsm/sarama-cluster v2.1.15+incompatible
github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21 // indirect
github.com/eapache/queue v1.1.0 // indirect
github.com/fatih/color v1.9.0
github.com/fsamin/go-dump v1.0.9
github.com/fullstorydev/grpcurl v1.4.0
github.com/garyburd/redigo v1.6.0
github.com/go-ole/go-ole v1.2.4 // indirect
github.com/go-sql-driver/mysql v1.4.1
github.com/go-testfixtures/testfixtures/v3 v3.1.1
github.com/gobuffalo/packr v1.30.1 // indirect
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeME
github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as=
github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE=
github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk=
github.com/go-ole/go-ole v1.2.4 h1:nNBDSCOigTSiarFpYE9J/KtEA1IOW4CNeqT9TQDqCxI=
github.com/go-ole/go-ole v1.2.4/go.mod h1:XCwSNxSkXRo4vlyPy93sltvi/qJq0jqQhjqQNIwKuxM=
github.com/go-sql-driver/mysql v1.4.0/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w=
github.com/go-sql-driver/mysql v1.4.1 h1:g24URVg0OFbNUTx9qqY1IRZ9D9z3iPyi5zKhQZpNwpA=
github.com/go-sql-driver/mysql v1.4.1/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w=
Expand Down