Add code changes section to dev docs

This commit is contained in:
stefanprodan
2020-02-28 18:46:52 +02:00
parent be4c67540d
commit 49c088595e
+20 -4
View File
@@ -58,18 +58,22 @@ Download Go modules:
go mod download
```
Build Flagger container image:
Build Flagger binary and container image:
```bash
make build
```
Run unit tests:
Build load tester binary and container image:
```bash
make test
make loadtester-build
```
### Code changes
Before submitting a PR, make sure your changes are covered by unit tests.
If you made changes to `go.mod` run:
```bash
@@ -79,7 +83,19 @@ go mod tidy
If you made changes to `pkg/apis` regenerate Kubernetes client sets with:
```bash
./hack/update-codegen.sh
make codegen
```
Run code formatters:
```bash
make fmt
```
Run unit tests:
```bash
make test
```
### Manual testing