Skip to content

Commit 08ad301

Browse files
Fix makefile target make generate
1 parent cc338d7 commit 08ad301

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,12 @@ install: build ## Build and install the binary with the current source code. Use
6666
.PHONY: generate
6767
generate: generate-testdata generate-docs ## Update/generate all mock data. You should run this commands to update the mock data after your changes.
6868
go mod tidy
69-
remove-spaces
69+
make remove-spaces
7070

7171
.PHONY: remove-spaces
7272
remove-spaces:
7373
@echo "Removing trailing spaces"
74-
@find . -type f -name "*.md" -exec sed -i '' 's/[[:space:]]*$$//' {} +
74+
@find . -type f -name "*.md" -exec sed -i '' 's/[[:space:]]*$$//' {} + || true
7575

7676
.PHONY: generate-testdata
7777
generate-testdata: ## Update/generate the testdata in $GOPATH/src/sigs.k8s.io/kubebuilder

0 commit comments

Comments
 (0)