Skip to content

Commit c234dc9

Browse files
committed
Update the doc for regenerating the C client
1 parent 5bf6cd5 commit c234dc9

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/how-to-regenerate-the-c-client.md

+10
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,16 @@ cd $GEN_REPO_ROOT/openapi
5252
./c.sh $OUTPUT_DIR $SETTING_FILE
5353
```
5454

55+
Optionally, delete the old model/api/unit-test files in the C client because some of them are deprecated in the new Kubernetes spec:
56+
57+
```bash
58+
cd $CLIENT_REPO_ROOT/kubernetes
59+
find ./model -type f -not -name "int_or_string*" -exec rm -r {} \;
60+
find ./api -type f -not -name "int_or_string*" -exec rm -r {} \;
61+
find ./unit-test -type f -not -name "manual*" -exec rm -r {} \;
62+
cd -
63+
```
64+
5565
Copy the generated files to overwrite the files in the C client:
5666

5767
```bash

0 commit comments

Comments
 (0)