17 lines
724 B
Bash
Executable File
17 lines
724 B
Bash
Executable File
#!/bin/bash
|
|
|
|
rm gen_live_documentation.log
|
|
|
|
cd ../java_tools
|
|
./gradlew :config_definition_base:shadowJar
|
|
./gradlew :enum_to_string:shadowJar
|
|
cd ../firmware
|
|
|
|
java -DSystemOut.name=logs/gen_live_documentation \
|
|
-cp ../java_tools/configuration_definition_base/build/libs/config_definition_base.jar \
|
|
com.rusefi.ldmp.LiveDataProcessor integration/LiveData.yaml
|
|
[ $? -eq 0 ] || { echo "ERROR generating"; exit 1; }
|
|
|
|
java -DSystemOut.name=logs/gen_java_enum -cp ../java_tools/enum_to_string/build/libs/enum_to_string.jar com.rusefi.ToJavaEnum -enumInputFile console/binary/generated/live_data_ids.h -outputPath ../java_console/io/src/main/java/com/rusefi/enums
|
|
[ $? -eq 0 ] || { echo "ERROR generating live data ids"; exit 1; }
|