codegen
codegen.sh use quicktype to generate json (de)serializing code in libs/runtime/include from runtime-spec and some extra types we need.
The generated code needs to apply a little patch, as quicktype is not working very well.
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