Compile and dispatch authoritative acceptance hooks with target-specific package roots
This commit is contained in:
@@ -89,6 +89,13 @@ void negative;
|
||||
);
|
||||
|
||||
const { asyncObjectPlan } = await import("./async-fixture.js");
|
||||
const { compile: compileAcceptance } = await import("./acceptance-fixture.js");
|
||||
const acceptance = compileAcceptance();
|
||||
if (!acceptance.ok) throw Error(JSON.stringify(acceptance.diagnostics));
|
||||
const acceptancePlan = compileExecutionPlan(acceptance.workspace);
|
||||
await mkdir("dist/portable-reader/acceptance", { recursive: true });
|
||||
await writeFile("dist/portable-reader/acceptance/plan.json", JSON.stringify(acceptancePlan));
|
||||
await writeFile("dist/portable-reader/acceptance/kernel.json", JSON.stringify(compileKernelProgram(acceptancePlan)));
|
||||
const { recurringTaskPlan } = await import("./recurring-fixture.js");
|
||||
const recurringPlan = await recurringTaskPlan();
|
||||
await mkdir("dist/portable-reader/recurring", { recursive: true });
|
||||
|
||||
Reference in New Issue
Block a user