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 0be9320
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hack/docs/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ source "$(dirname "$0")/../../test/common.sh"

build_kb

# ensure that destroy succeed
chmod -R +w docs/book/src/component-config-tutorial/testdata/project/
chmod -R +w docs/book/src/cronjob-tutorial/testdata/project/

docs_gen_directory="$(dirname "$0")/../../hack/docs/generate_samples.go"
go run ${docs_gen_directory}

0 comments on commit 0be9320

Please sign in to comment.