Skip to content

Commit

Permalink
make generate error: target directory is not empty
Browse files Browse the repository at this point in the history
Signed-off-by: lowang-bh <lhui_wang@163.com>
  • Loading branch information
lowang-bh committed Sep 3, 2023
1 parent cbbc500 commit 65c39a6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ generate: generate-testdata generate-docs ## Update/generate all mock data. You
generate-testdata: ## Update/generate the testdata in $GOPATH/src/sigs.k8s.io/kubebuilder
chmod -R +w testdata/
rm -rf testdata/
chmod -R +w docs/book/src/cronjob-tutorial/testdata/project/bin/
chmod -R +w docs/book/src/cronjob-tutorial/testdata/project/bin/
rm -rf docs/book/src/component-config-tutorial/testdata/project/bin/
rm -rf docs/book/src/cronjob-tutorial/testdata/project/bin/
./test/testdata/generate.sh

.PHONY: generate-docs
Expand Down

0 comments on commit 65c39a6

Please sign in to comment.