only:a note of fresh technical debt

This commit is contained in:
rusefillc 2024-02-16 19:10:52 -05:00
parent 43c0bda002
commit d90db2354f
2 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
SCRIPT_NAME=$(basename "$0") SCRIPT_NAME=$(basename "$0")
# technical debt: more than one file uses magic 'rusefi_bundle_' constant, can we extract constant?
FULL_BUNDLE_FILE="rusefi_bundle_${BUNDLE_NAME}.zip" FULL_BUNDLE_FILE="rusefi_bundle_${BUNDLE_NAME}.zip"
UPDATE_BUNDLE_FILE="rusefi_bundle_${BUNDLE_NAME}_autoupdate.zip" UPDATE_BUNDLE_FILE="rusefi_bundle_${BUNDLE_NAME}_autoupdate.zip"

View File

@ -22,6 +22,7 @@ else
fi fi
INI_FILE_OVERRIDE="firmware/tunerstudio/generated/rusefi_$SHORT_BOARD_NAME.ini" INI_FILE_OVERRIDE="firmware/tunerstudio/generated/rusefi_$SHORT_BOARD_NAME.ini"
# technical debt: more than one file uses magic 'rusefi_bundle_' constant, can we extract constant?
BUNDLE_FULL_NAME="rusefi_bundle_${BUNDLE_NAME}" BUNDLE_FULL_NAME="rusefi_bundle_${BUNDLE_NAME}"
echo "$SCRIPT_NAME: Will use $INI_FILE_OVERRIDE" echo "$SCRIPT_NAME: Will use $INI_FILE_OVERRIDE"