@@ -35,7 +35,7 @@ var compilerSources = [
3535 "checker.ts" ,
3636 "emitter.ts" ,
3737 "commandLineParser.ts" ,
38- "tc .ts" ,
38+ "tsc .ts" ,
3939 "diagnosticInformationMap.generated.ts"
4040] . map ( function ( f ) {
4141 return path . join ( compilerDirectory , f ) ;
@@ -134,7 +134,7 @@ var useDebugMode = false;
134134function compileFile ( outFile , sources , prereqs , prefixes , useBuiltCompiler , noOutFile ) {
135135 file ( outFile , prereqs , function ( ) {
136136 var dir = useBuiltCompiler ? builtLocalDirectory : LKGDirectory ;
137- var compilerFilename = "tc .js" ;
137+ var compilerFilename = "tsc .js" ;
138138 var options = "-removeComments --module commonjs -noImplicitAny " ; //" -propagateEnumConstants "
139139
140140 var cmd = ( process . env . host || process . env . TYPESCRIPT_HOST || "node" ) + " " + dir + compilerFilename + " " + options + " " ;
@@ -230,15 +230,15 @@ task("generate-diagnostics", [diagnosticInfoMapTs])
230230
231231
232232// Local target to build the compiler and services
233- var tcFile = path . join ( builtLocalDirectory , "tc .js" ) ;
234- compileFile ( tcFile , compilerSources , [ builtLocalDirectory , copyright ] . concat ( compilerSources ) , [ copyright ] , /*useBuiltCompiler:*/ false ) ;
233+ var tscFile = path . join ( builtLocalDirectory , "tsc .js" ) ;
234+ compileFile ( tscFile , compilerSources , [ builtLocalDirectory , copyright ] . concat ( compilerSources ) , [ copyright ] , /*useBuiltCompiler:*/ false ) ;
235235
236- var tcServicesFile = path . join ( builtLocalDirectory , "typescriptServices.js" ) ;
237- compileFile ( tcServicesFile , servicesSources , [ builtLocalDirectory , copyright ] . concat ( servicesSources ) , [ copyright ] , /*useBuiltCompiler:*/ true ) ;
236+ var servicesFile = path . join ( builtLocalDirectory , "typescriptServices.js" ) ;
237+ compileFile ( servicesFile , servicesSources , [ builtLocalDirectory , copyright ] . concat ( servicesSources ) , [ copyright ] , /*useBuiltCompiler:*/ true ) ;
238238
239239// Local target to build the compiler and services
240240desc ( "Builds the full compiler and services" ) ;
241- task ( "local" , [ "generate-diagnostics" , "lib" , tcFile , tcServicesFile ] ) ;
241+ task ( "local" , [ "generate-diagnostics" , "lib" , tscFile , servicesFile ] ) ;
242242
243243
244244// Local target to build the compiler and services
@@ -261,7 +261,7 @@ task("clean", function() {
261261// Makes a new LKG. This target does not build anything, but errors if not all the outputs are present in the built/local directory
262262desc ( "Makes a new LKG out of the built js files" ) ;
263263task ( "LKG" , libraryTargets , function ( ) {
264- var expectedFiles = [ tcFile , tcServicesFile ] . concat ( libraryTargets ) ;
264+ var expectedFiles = [ tscFile , servicesFile ] . concat ( libraryTargets ) ;
265265 var missingFiles = expectedFiles . filter ( function ( f ) {
266266 return ! fs . existsSync ( f ) ;
267267 } ) ;
@@ -285,7 +285,7 @@ directory(builtLocalDirectory);
285285
286286// Task to build the tests infrastructure using the built compiler
287287var run = path . join ( builtLocalDirectory , "run.js" ) ;
288- compileFile ( run , harnessSources , [ builtLocalDirectory , tcFile ] . concat ( libraryTargets ) . concat ( harnessSources ) , [ ] , /*useBuiltCompiler:*/ true ) ;
288+ compileFile ( run , harnessSources , [ builtLocalDirectory , tscFile ] . concat ( libraryTargets ) . concat ( harnessSources ) , [ ] , /*useBuiltCompiler:*/ true ) ;
289289
290290var localBaseline = "tests/baselines/local/" ;
291291var refBaseline = "tests/baselines/reference/" ;
@@ -385,7 +385,7 @@ task("generate-code-coverage", ["tests", builtLocalDirectory], function () {
385385// Browser tests
386386var nodeServerOutFile = 'tests/webTestServer.js'
387387var nodeServerInFile = 'tests/webTestServer.ts'
388- compileFile ( nodeServerOutFile , [ nodeServerInFile ] , [ builtLocalDirectory , tcFile ] , [ ] , true , true ) ;
388+ compileFile ( nodeServerOutFile , [ nodeServerInFile ] , [ builtLocalDirectory , tscFile ] , [ ] , true , true ) ;
389389
390390desc ( "Runs browserify on run.js to produce a file suitable for running tests in the browser" ) ;
391391task ( "browserify" , [ "tests" , builtLocalDirectory , nodeServerOutFile ] , function ( ) {
@@ -460,16 +460,16 @@ task("baseline-accept-rwc", function() {
460460// Webhost
461461var webhostPath = "tests/webhost/webtsc.ts" ;
462462var webhostJsPath = "tests/webhost/webtsc.js" ;
463- compileFile ( webhostJsPath , [ webhostPath ] , [ tcFile , webhostPath ] . concat ( libraryTargets ) , [ ] , true ) ;
463+ compileFile ( webhostJsPath , [ webhostPath ] , [ tscFile , webhostPath ] . concat ( libraryTargets ) , [ ] , true ) ;
464464
465465desc ( "Builds the tsc web host" ) ;
466466task ( "webhost" , [ webhostJsPath ] , function ( ) {
467467 jake . cpR ( path . join ( builtLocalDirectory , "lib.d.ts" ) , "tests/webhost/" , { silent : true } ) ;
468468} ) ;
469469
470470// Perf compiler
471- var perftcPath = "tests/perftc .ts" ;
472- var perftcJsPath = "built/local/perftc .js" ;
473- compileFile ( perftcJsPath , [ perftcPath ] , [ tcFile , perftcPath , "tests/perfsys.ts" ] . concat ( libraryTargets ) , [ ] , true ) ;
471+ var perftscPath = "tests/perftsc .ts" ;
472+ var perftscJsPath = "built/local/perftsc .js" ;
473+ compileFile ( perftscJsPath , [ perftscPath ] , [ tscFile , perftscPath , "tests/perfsys.ts" ] . concat ( libraryTargets ) , [ ] , true ) ;
474474desc ( "Builds augmented version of the compiler for perf tests" ) ;
475- task ( "perftc " , [ perftcJsPath ] ) ;
475+ task ( "perftsc " , [ perftscJsPath ] ) ;
0 commit comments