File tree Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -15,15 +15,9 @@ Please see https://git.k8s.io/community/CLA.md for more info.
15
15
16
16
## How to build kubebuilder locally
17
17
18
- 1 . Build
19
- ``` sh
20
- $ make build
21
- ```
22
-
23
- 1 . Test
24
- ``` sh
25
- $ ./test.sh
26
- ```
18
+ 1 . Ensure you activate module support before continue (` $ export GO111MODULE=on ` )
19
+ 1 . Build the project by using the command ` make build `
20
+ 1 . Run the tests by using the command ` make test ` and ` make test-project-generation `
27
21
28
22
## Community, discussion and support
29
23
Original file line number Diff line number Diff line change @@ -31,6 +31,14 @@ install: build
31
31
generate :
32
32
GO111MODULE=on ./generated_golden.sh
33
33
34
+ .PHONY : test
34
35
test :
35
36
go test -v ./cmd/... ./pkg/...
36
37
38
+ .PHONY : test-project-generation
39
+ test-project-generation :
40
+ ./test.sh
41
+
42
+ .PHONY : test-e2e
43
+ test-e2e :
44
+ ./test_e2e.sh
You can’t perform that action at this time.
0 commit comments