Skip to content

Commit cdc9c48

Browse files
authored
Merge pull request #3834 from camilamacedo86/small-fix-makefile
🌱 Fix makefile target make generate
2 parents cc338d7 + 08ad301 commit cdc9c48

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: Makefile

+2-2
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)