Skip to content

Commit

Permalink
getting starte to contribute with. Add makefile commands and improve …
Browse files Browse the repository at this point in the history
…CONTRIBUTING.MD
  • Loading branch information
camilamacedo86 committed Sep 9, 2019
1 parent b46a3c2 commit de899bd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
12 changes: 3 additions & 9 deletions CONTRIBUTING.md
Expand Up @@ -15,15 +15,9 @@ Please see https://git.k8s.io/community/CLA.md for more info.

## How to build kubebuilder locally

1. Build
```sh
$ make build
```

1. Test
```sh
$ ./test.sh
```
1. Ensure you activate module support before continue (`$ export GO111MODULE=on`)
1. Build the project by using the command `make build`
1. Run the tests by using the command `make test` and `make test-project-generation`

## Community, discussion and support

Expand Down
8 changes: 8 additions & 0 deletions Makefile
Expand Up @@ -31,6 +31,14 @@ install: build
generate:
GO111MODULE=on ./generated_golden.sh

.PHONY: test
test:
go test -v ./cmd/... ./pkg/...

.PHONY: test-project-generation
test-project-generation:
./test.sh

.PHONY: test-e2e
test-e2e:
./test_e2e.sh

0 comments on commit de899bd

Please sign in to comment.