Add options tsBuildInfoFile to provide name for the buildinfo file

This commit is contained in:
Sheetal Nandi
2019-03-01 09:58:16 -08:00
parent df9da15abb
commit cd195c91c6
30 changed files with 4253 additions and 13 deletions

View File

@@ -2725,6 +2725,12 @@ namespace ts {
}
}
if (options.tsBuildInfoFile) {
if (!isIncrementalCompilation(options)) {
createDiagnosticForOptionName(Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2, "tsBuildInfoFile", "incremental", "composite");
}
}
verifyProjectReferences();
// List of collected files is complete; validate exhautiveness if this is a project with a file list