Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mmeigs committed Nov 29, 2023
1 parent c099d3b commit a2e9a64
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions src/job/jobHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -297,22 +297,22 @@ export abstract class JobHandler {
}

private async exeBuildModified(): Promise<void> {
const stages = {
['get-build-dependencies']: 'buildDepsExe', // ??
['next-gen-parse']: 'parseExe',
['persistence-module']: 'persistenceExe',
['next-gen-html']: 'htmlExe',
['oas-page-build']: 'oasPageBuildExe',
};

const commandMap: {
[K: string]: ({ job, preppedLogger }: { job: Job; preppedLogger: (message: string) => void }) => any;
} = {
['next-gen-parse']: nextGenParse,
['persistence-module']: persistenceModule,
// ['next-gen-html']: 'htmlExe',
['oas-page-build']: oasPageBuild,
};
// const stages = {
// ['get-build-dependencies']: 'buildDepsExe', // ??
// ['next-gen-parse']: 'parseExe',
// ['persistence-module']: 'persistenceExe',
// ['next-gen-html']: 'htmlExe',
// ['oas-page-build']: 'oasPageBuildExe',
// };

// const commandMap: {
// [K: string]: ({ job, preppedLogger }: { job: Job; preppedLogger: (message: string) => void }) => any;
// } = {
// ['next-gen-parse']: nextGenParse,
// ['persistence-module']: persistenceModule,
// // ['next-gen-html']: 'htmlExe',
// ['oas-page-build']: oasPageBuild,
// };

// get the prerequisite commands which should be all commands up to `rm -f makefile`
const endOfPrerequisiteCommands = this.currJob.buildCommands.indexOf('rm -f makefile');
Expand Down

0 comments on commit a2e9a64

Please sign in to comment.