Skip to content
This repository has been archived by the owner on Mar 26, 2021. It is now read-only.

Commit

Permalink
Document how to run Go source verification scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
font committed Jan 9, 2018
1 parent df66704 commit 6fc60ba
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,21 @@ generated clients and other generated files.
1. Add the generated files to your PR, preferably in a separate, generated-only
commit so that they are easier to review.

## Verify Go source files

To verify and fix your Go source files:

1. Run from the root of this repository `./hack/verify-go-src.sh -v --rootdir $(pwd)`

This runs all the Go source verification scripts in
[`./hack/go-tools/`](/hack/go-tools/).

You can also run any of the scripts individually. For example:

1. Run `./hack/go-tools/verify-govet.sh`

The return code of the script indicates success or failure.

## Interacting with the k8s-bot

The cluster-registry repo is monitored by the k8s-ci-robot. You can find a list
Expand Down

0 comments on commit 6fc60ba

Please sign in to comment.