2020-07-09 07:27:20 -07:00
|
|
|
#!/bin/bash
|
2020-06-18 09:41:14 -07:00
|
|
|
|
2024-03-04 18:12:46 -08:00
|
|
|
cd $(dirname "$0")
|
2020-06-18 09:41:14 -07:00
|
|
|
|
2024-03-04 18:12:46 -08:00
|
|
|
rm gen_live_documentation.log
|
2023-06-17 13:35:36 -07:00
|
|
|
|
2024-07-13 14:37:34 -07:00
|
|
|
java -DSystemOut.name=logs/gen_live_documentation \
|
|
|
|
-cp ../java_tools/configuration_definition_base/build/libs/config_definition_base-all.jar \
|
|
|
|
com.rusefi.SimpleDefinesProcessor integration/ts_protocol.txt
|
|
|
|
|
2021-10-23 17:18:09 -07:00
|
|
|
java -DSystemOut.name=logs/gen_live_documentation \
|
2024-02-16 21:48:57 -08:00
|
|
|
-cp ../java_tools/configuration_definition_base/build/libs/config_definition_base-all.jar \
|
2024-09-01 20:08:08 -07:00
|
|
|
com.rusefi.ldmp.LiveDataProcessor \
|
|
|
|
integration/LiveData.yaml${EXTRA_LIVE_DATA_FILE} \
|
|
|
|
integration/rusefi_config_trigger.txt \
|
|
|
|
../unit_tests/test-framework/trigger_meta_generated.h \
|
|
|
|
../java_tools/trigger-image/src/main/java/com/rusefi/config/generated/TriggerMeta.java \
|
|
|
|
"./${META_OUTPUT_ROOT_FOLDER}"
|
2024-03-03 18:16:06 -08:00
|
|
|
[ $? -eq 0 ] || { echo "ERROR generating with LiveDataProcessor"; exit 1; }
|
2021-11-28 14:04:46 -08:00
|
|
|
|
2024-09-02 07:23:37 -07:00
|
|
|
java -DSystemOut.name=logs/gen_java_enum -cp ../java_tools/enum_to_string/build/libs/enum_to_string-all.jar \
|
|
|
|
com.rusefi.ToJavaEnum -enumInputFile \
|
2024-10-04 06:18:27 -07:00
|
|
|
${META_OUTPUT_ROOT_FOLDER}console/binary/generated/live_data_ids.h \
|
2024-09-02 07:23:37 -07:00
|
|
|
-outputPath \
|
|
|
|
../java_console/io/src/main/java/com/rusefi/enums
|
2023-01-15 02:55:54 -08:00
|
|
|
[ $? -eq 0 ] || { echo "ERROR generating live data ids"; exit 1; }
|
2023-07-03 20:33:19 -07:00
|
|
|
|
|
|
|
# live_data_ids.h is generated above so order of operations is important here!
|
|
|
|
|
2024-02-16 21:48:57 -08:00
|
|
|
./gen_enum_to_string.sh
|