Skip to content

Commit 40eeb18

Browse files
authored
Merge pull request #325 from bowei/pr-makefile
Update the Makefile help text to include all of the targets
2 parents ddd2e53 + 2fc0313 commit 40eeb18

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

Makefile

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,29 +39,33 @@ vet: ## Run go vet against code.
3939
go vet ./...
4040

4141
.PHONY: generate
42-
generate:
42+
generate: ## Generate the code from the API definitions.
4343
./hack/update-codegen.sh
4444

4545
all: generate fmt vet ## Runs all the development targets
4646

4747
.PHONY: verify
48-
verify:
48+
verify: ## Verify the code.
4949
hack/verify-all.sh -v
5050

51-
crd-e2e:
51+
crd-e2e: ## Run the CRD e2e tests.
5252
hack/crd-e2e.sh -v
5353

5454
.PHONY: conformance
55-
conformance:
56-
go test ${GO_TEST_FLAGS} -v ./conformance -run TestConformance -args ${CONFORMANCE_FLAGS}
55+
conformance: ## Run the conformance tests.
56+
go test ${GO_TEST_FLAGS} -v ./conformance \
57+
-run TestConformance -args ${CONFORMANCE_FLAGS}
5758

5859
.PHONY: conformance-profiles
59-
conformance-profiles:
60-
go test ${GO_TEST_FLAGS} -v ./conformance -run TestConformanceProfiles -args ${CONFORMANCE_FLAGS}
60+
conformance-profiles: ## Run the conformance profiles.
61+
go test ${GO_TEST_FLAGS} -v ./conformance \
62+
-run TestConformanceProfiles -args ${CONFORMANCE_FLAGS}
6163

6264
.PHONY: conformance-profiles-default
63-
conformance-profiles-default:
64-
go test ${GO_TEST_FLAGS} -v ./conformance -run TestConformanceProfiles -args --conformance-profiles=AdminNetworkPolicy,BaselineAdminNetworkPolicy
65+
conformance-profiles-default: ## Run the default conformance profile.
66+
go test ${GO_TEST_FLAGS} -v ./conformance \
67+
-run TestConformanceProfiles -args \
68+
--conformance-profiles=AdminNetworkPolicy,BaselineAdminNetworkPolicy
6569

6670
##@ Deployment
6771
install: generate ## Install standard CRDs into the K8s cluster specified in ~/.kube/config.
@@ -85,6 +89,6 @@ docs:
8589
local-docs:
8690
mkdocs serve
8791

88-
.PHONY: build-install-yaml
92+
.PHONY: build-install-yaml ## Build the install YAML.
8993
build-install-yaml:
9094
./hack/build-install-yaml.sh

0 commit comments

Comments
 (0)