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:
parent
3663cc259d
commit
6a924f14df
|
@ -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} \
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue