Mark is an ass but by far the most potent combination of knowledgeable ass, smart ass, get it done ass and determined ass. and his ass consistently puts in time.

This commit is contained in:
rusefillc 2022-04-11 11:43:35 -04:00
parent 3663cc259d
commit 6a924f14df
2 changed files with 4 additions and 1 deletions

View File

@ -41,10 +41,11 @@ source gen_config_common.sh
echo "Using COMMON_GEN_CONFIG [$COMMON_GEN_CONFIG]"
# work in progress: migrating to rusefi_${BUNDLE_NAME}.txt
# in rare cases order of arguments is important - '-tool' should be specified before '-definition'
java -DSystemOut.name=logs/gen_config_board \
-tool gen_config.sh \
$COMMON_GEN_CONFIG \
-romraider integration \
-tool gen_config.sh \
-field_lookup_file controllers/lua/generated/value_lookup_generated.cpp \
-board ${BOARDNAME} \
-ts_output_name generated/${INI} \

View File

@ -92,9 +92,11 @@ public class ConfigDefinition {
String key = args[i];
switch (key) {
case "-tool":
// lame: order of command line arguments is important
ToolUtil.TOOL = args[i + 1];
break;
case KEY_DEFINITION:
// lame: order of command line arguments is important, this arguments should be AFTER '-tool' argument
definitionInputFile = args[i + 1];
state.headerMessage = ToolUtil.getGeneratedAutomaticallyTag() + definitionInputFile + " " + new Date();
inputFiles.add(definitionInputFile);