establishing a bit of API

This commit is contained in:
rusefillc 2022-04-15 22:43:10 -04:00
parent 6d8978a006
commit 50a426858a
3 changed files with 7 additions and 7 deletions

Binary file not shown.

View File

@ -185,13 +185,6 @@ public class ConfigDefinition {
new TriggerWheelTSLogic().execute(triggersFolder, state.variableRegistry);
for (String prependFile : state.prependFiles)
state.variableRegistry.readPrependValues(prependFile);
if (pinoutLogic != null) {
pinoutLogic.processYamls(state.variableRegistry, state);
}
/*
// Parse the input files
@ -245,6 +238,10 @@ public class ConfigDefinition {
state.doJob();
if (pinoutLogic != null) {
pinoutLogic.processYamls(state.variableRegistry, state);
}
if (destCDefinesFileName != null) {
ExtraUtil.writeDefinesToFile(state.variableRegistry, destCDefinesFileName, state.definitionInputFile);
}

View File

@ -74,6 +74,9 @@ public class ReaderState {
}
public void doJob() throws IOException {
for (String prependFile : prependFiles)
variableRegistry.readPrependValues(prependFile);
/*
* this is the most important invocation - here we read the primary input file and generated code into all
* the destinations/writers