add instructions to DEVELOPMENT.md for installing tools required for skaffold development
This doc explains the development workflow so you can get started
[contributing](CONTRIBUTING.md) to Skaffold!
+
+## Requirements
+
+You must install these tools:
+
+1. [`go`](https://golang.org/doc/install): The language skaffold is
+ built in
+1. [`git`](https://help.github.com/articles/set-up-git/): For source control
+1. [`dep`](https://github.com/golang/dep): For managing external Go
+ dependencies. - Please Install dep v0.5.0 or greater.
+1. [`make`](https://www.gnu.org/software/make/): For building skaffold.
+1. [`golangci-lint`](https://github.com/golangci/golangci-lint): You can use the
+ helper [script](./hack/install_golint.sh) to get golangci-lint.
+
+ ```shell
+ ./hack/install_golint.sh
+ ```
+
+1. [`gocritic`](https://github.com/go-critic/go-critic): Go source code linter
+ providing advanced checks currently missing from other linters.
+
## Getting started
First you will need to setup your GitHub account and create a fork:
@@ -96,6 +117,16 @@ make test
_These tests will not run correctly unless you have [checked out your fork into your `$GOPATH`](#checkout-your-fork)._
+In case you see go-critic tool error,
+
+```shell
+make test
+RUN hack/linter.sh
+ERRO Running error: no such linter "gocritic"
+```
+
+re-run the `hack/install_golint.sh` script to upgrade `golangci-lint`.
+
### Integration tests
The integration tests live in [`integration`](./integration) and run the [`examples`](./examples)
