Skip to content

Commit

Permalink
Remove dep from contribution guidelines (influxdata#7180)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssoroka authored Mar 16, 2020
1 parent fcb038d commit 4162599
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,30 +30,24 @@ and the accumulator can be found in the GoDoc:

**Adding a dependency:**

Assuming you can already build the project, run these in the telegraf directory:
Telegraf uses Go modules. Assuming you can already build the project, run this in the telegraf directory:

1. `dep ensure -vendor-only`
2. `dep ensure -add github.com/[dependency]/[new-package]`
1. `go get github.com/[dependency]/[new-package]`

**Unit Tests:**

Before opening a pull request you should run the linter checks and
the short tests.

**Run static analysis:**

```
make check
```

**Run short tests:**

```
make test
```

**Execute integration tests:**

(Optional)

Running the integration tests requires several docker containers to be
running. You can start the containers with:
```
Expand Down

0 comments on commit 4162599

Please sign in to comment.