Skip to content

Commit 46141f5

Browse files
author
Yui T
committed
Copy generated diagnostic messages json from src/compiler to built/local
1 parent 6e78b9c commit 46141f5

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎Jakefile.js‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,8 @@ var processDiagnosticMessagesJs = path.join(scriptsDirectory, "processDiagnostic
320320
var processDiagnosticMessagesTs = path.join(scriptsDirectory, "processDiagnosticMessages.ts");
321321
var diagnosticMessagesJson = path.join(compilerDirectory, "diagnosticMessages.json");
322322
var diagnosticInfoMapTs = path.join(compilerDirectory, "diagnosticInformationMap.generated.ts");
323+
var generatedDiagnosticMessagesJSON = path.join(compilerDirectory, "diagnosticMessages.generated.json");
324+
var builtGeneratedDiagnosticMessagesJSON = path.join(builtLocalDirectory, "diagnosticMessages.generated.json");
323325

324326
file(processDiagnosticMessagesTs);
325327

@@ -343,6 +345,7 @@ file(diagnosticInfoMapTs, [processDiagnosticMessagesJs, diagnosticMessagesJson],
343345
process.stderr.write(error);
344346
});
345347
ex.addListener("cmdEnd", function() {
348+
jake.cpR(generatedDiagnosticMessagesJSON, builtGeneratedDiagnosticMessagesJSON)
346349
complete();
347350
});
348351
ex.run();

0 commit comments

Comments
 (0)