Signed-off-by: black-desk <me@black-desk.cn> |
||
|---|---|---|
| .. | ||
| quicktype@69d1574e50 | ||
| README.md | ||
| create-patch.sh | ||
| fix.patch | ||
README.md
codegen
codegen.sh use quicktype to generate json (de)serializing code in libs/runtime/include from runtime-spec.
The generated code needs to apply a little patch to compile.
You can recreate that patch follow these instructions:
-
Remove old patch
rm ./fix.patch -
Run codegen.sh
./codegen.sh -
Run create-patch.sh, it will start a new shell.
./create-patch.sh -
Change the code as your wish and leave
libs/runtime/include.origuntouched -
Exit
exit