Skip to content

Commit 2469f63

Browse files
committed
Refs #23079. Add new example to regeneration script.
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
1 parent 060e5c8 commit 2469f63

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

utils/scripts/update_generated_code_from_idl.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,17 @@ if [[ $? != 0 ]]; then
4040
fi
4141
cd -
4242

43+
if [[ $ret_value != -1 ]]; then
44+
cd "./fastdds_python_examples/RPCExample"
45+
46+
echo -e "Processing ${yellow}calculator.idl${textreset}"
47+
echo "Running: fastddsgen -replace -python calculator.idl"
48+
fastddsgen -replace -python calculator.idl
49+
fi
50+
51+
if [[ $? != 0 ]]; then
52+
ret_value=-1
53+
fi
54+
cd -
55+
4356
exit ${ret_value}

0 commit comments

Comments
 (0)