Skip to content

Commit

Permalink
Merge pull request #3834 from camilamacedo86/small-fix-makefile
Browse files Browse the repository at this point in the history
🌱 Fix makefile target make generate
  • Loading branch information
k8s-ci-robot authored Mar 30, 2024
2 parents cc338d7 + 08ad301 commit cdc9c48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,12 @@ install: build ## Build and install the binary with the current source code. Use
.PHONY: generate
generate: generate-testdata generate-docs ## Update/generate all mock data. You should run this commands to update the mock data after your changes.
go mod tidy
remove-spaces
make remove-spaces

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

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

0 comments on commit cdc9c48

Please sign in to comment.