only:simplifying scripts: gen_enum_to_string.sh is invoked only by gen_live_documentation.sh
This commit is contained in:
parent
f31aec4463
commit
fb51d3a931
|
@ -430,12 +430,6 @@ jobs:
|
|||
working-directory: ./firmware/
|
||||
run: ./gen_live_documentation.sh
|
||||
|
||||
# live_data_ids.h is generated above so order of operations is important here!
|
||||
- name: Generate Enum Strings
|
||||
if: ${{ env.skip != 'true' }}
|
||||
working-directory: ./firmware/
|
||||
run: ./gen_enum_to_string.sh
|
||||
|
||||
- name: Generate Configs for build-target
|
||||
if: ${{ env.skip != 'true' }}
|
||||
working-directory: ./firmware/
|
||||
|
|
|
@ -37,10 +37,6 @@ jobs:
|
|||
working-directory: ./java_tools
|
||||
run: ./gradlew :config_definition:shadowJar
|
||||
|
||||
- name: Generate Enum Strings
|
||||
working-directory: ./firmware/
|
||||
run: ./gen_enum_to_string.sh
|
||||
|
||||
- name: Generate Live Documentation
|
||||
working-directory: ./firmware/
|
||||
run: ./gen_live_documentation.sh
|
||||
|
|
|
@ -57,18 +57,14 @@ jobs:
|
|||
working-directory: ./firmware/
|
||||
run: ./gen_config_default.sh
|
||||
|
||||
- name: Generate Enum Strings
|
||||
- name: Generate Live Documentation
|
||||
working-directory: ./firmware/
|
||||
run: ./gen_enum_to_string.sh
|
||||
run: ./gen_live_documentation.sh
|
||||
|
||||
- name: Generate Board config
|
||||
working-directory: ./firmware/
|
||||
run: bash gen_config_board.sh ${{matrix.folder}} ${{matrix.config-name}}
|
||||
|
||||
- name: Generate Live Documentation
|
||||
working-directory: ./firmware/
|
||||
run: ./gen_live_documentation.sh
|
||||
|
||||
- name: Acquire GCC
|
||||
working-directory: ./firmware/
|
||||
run: ./provide_gcc.sh
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
# is order of operations important here or not really?
|
||||
|
||||
echo "gen_enum_to_string.sh as part of everything"
|
||||
./gen_enum_to_string.sh
|
||||
|
||||
echo "gen_live_documentation.sh as part of everything"
|
||||
./gen_live_documentation.sh
|
||||
|
||||
|
|
|
@ -14,3 +14,7 @@ java -DSystemOut.name=logs/gen_live_documentation \
|
|||
|
||||
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; }
|
||||
|
||||
# live_data_ids.h is generated above so order of operations is important here!
|
||||
|
||||
./gen_enum_to_string.sh
|
Loading…
Reference in New Issue