@@ -218,7 +218,7 @@ var compilerFilename = "tsc.js";
218218function compileFile ( outFile , sources , prereqs , prefixes , useBuiltCompiler , noOutFile , generateDeclarations , outDir , preserveConstEnums , keepComments , noResolve , stripInternal , callback ) {
219219 file ( outFile , prereqs , function ( ) {
220220 var dir = useBuiltCompiler ? builtLocalDirectory : LKGDirectory ;
221- var options = "--module commonjs -noImplicitAny" ;
221+ var options = "--module commonjs -- noImplicitAny --noEmitOnError " ;
222222
223223 // Keep comments when specifically requested
224224 // or when in debug mode.
@@ -339,10 +339,10 @@ file(diagnosticInfoMapTs, [processDiagnosticMessagesJs, diagnosticMessagesJson],
339339 complete ( ) ;
340340 } ) ;
341341 ex . run ( ) ;
342- } , { async : true } ) ;
342+ } , { async : true } ) ;
343343
344344desc ( "Generates a diagnostic file in TypeScript based on an input JSON file" ) ;
345- task ( "generate-diagnostics" , [ diagnosticInfoMapTs ] ) ;
345+ task ( "generate-diagnostics" , [ diagnosticInfoMapTs ] ) ;
346346
347347
348348// Publish nightly
@@ -479,11 +479,11 @@ file(specMd, [word2mdJs, specWord], function () {
479479 child_process . exec ( cmd , function ( ) {
480480 complete ( ) ;
481481 } ) ;
482- } , { async : true } ) ;
482+ } , { async : true } ) ;
483483
484484
485485desc ( "Generates a Markdown version of the Language Specification" ) ;
486- task ( "generate-spec" , [ specMd ] ) ;
486+ task ( "generate-spec" , [ specMd ] ) ;
487487
488488
489489// Makes a new LKG. This target does not build anything, but errors if not all the outputs are present in the built/local directory
@@ -615,7 +615,7 @@ task("runtests", ["tests", builtLocalDirectory], function() {
615615 exec ( cmd , deleteTemporaryProjectOutput ) ;
616616} , { async : true } ) ;
617617
618- desc ( "Generates code coverage data via instanbul" ) ;
618+ desc ( "Generates code coverage data via instanbul" ) ;
619619task ( "generate-code-coverage" , [ "tests" , builtLocalDirectory ] , function ( ) {
620620 var cmd = 'istanbul cover node_modules/mocha/bin/_mocha -- -R min -t ' + testTimeout + ' ' + run ;
621621 console . log ( cmd ) ;
@@ -658,7 +658,7 @@ task("runtests-browser", ["tests", "browserify", builtLocalDirectory], function(
658658function getDiffTool ( ) {
659659 var program = process . env [ 'DIFF' ]
660660 if ( ! program ) {
661- fail ( "Add the 'DIFF' environment variable to the path of the program you want to use." ) ;
661+ fail ( "Add the 'DIFF' environment variable to the path of the program you want to use." ) ;
662662 }
663663 return program ;
664664}
@@ -667,14 +667,14 @@ function getDiffTool() {
667667desc ( "Diffs the compiler baselines using the diff tool specified by the 'DIFF' environment variable" ) ;
668668task ( 'diff' , function ( ) {
669669 var cmd = '"' + getDiffTool ( ) + '" ' + refBaseline + ' ' + localBaseline ;
670- console . log ( cmd ) ;
670+ console . log ( cmd ) ;
671671 exec ( cmd ) ;
672672} , { async : true } ) ;
673673
674674desc ( "Diffs the RWC baselines using the diff tool specified by the 'DIFF' environment variable" ) ;
675675task ( 'diff-rwc' , function ( ) {
676676 var cmd = '"' + getDiffTool ( ) + '" ' + refRwcBaseline + ' ' + localRwcBaseline ;
677- console . log ( cmd ) ;
677+ console . log ( cmd ) ;
678678 exec ( cmd ) ;
679679} , { async : true } ) ;
680680
0 commit comments