@@ -41,7 +41,7 @@ const generateLibs = () => {
4141 . pipe ( concat ( relativeTarget , { newLine : "\n\n" } ) )
4242 . pipe ( dest ( "built/local" ) ) ) ) ;
4343} ;
44- task ( "lib" , generateLibs )
44+ task ( "lib" , generateLibs ) ;
4545task ( "lib" ) . description = "Builds the library targets" ;
4646
4747const cleanLib = ( ) => del ( libs . map ( lib => lib . target ) ) ;
@@ -168,7 +168,7 @@ task("services", series(preBuild, buildServices));
168168task ( "services" ) . description = "Builds the language service" ;
169169task ( "services" ) . flags = {
170170 " --built" : "Compile using the built version of the compiler."
171- }
171+ } ;
172172
173173const cleanServices = async ( ) => {
174174 if ( fs . existsSync ( "built/local/typescriptServices.tsconfig.json" ) ) {
@@ -200,14 +200,14 @@ task("watch-services", series(preBuild, parallel(watchLib, watchDiagnostics, wat
200200task ( "watch-services" ) . description = "Watches for changes and rebuild language service only" ;
201201task ( "watch-services" ) . flags = {
202202 " --built" : "Compile using the built version of the compiler."
203- }
203+ } ;
204204
205205const buildServer = ( ) => buildProject ( "src/tsserver" , cmdLineOptions ) ;
206206task ( "tsserver" , series ( preBuild , buildServer ) ) ;
207207task ( "tsserver" ) . description = "Builds the language server" ;
208208task ( "tsserver" ) . flags = {
209209 " --built" : "Compile using the built version of the compiler."
210- }
210+ } ;
211211
212212const cleanServer = ( ) => cleanProject ( "src/tsserver" ) ;
213213cleanTasks . push ( cleanServer ) ;
@@ -219,13 +219,13 @@ task("watch-tsserver", series(preBuild, parallel(watchLib, watchDiagnostics, wat
219219task ( "watch-tsserver" ) . description = "Watch for changes and rebuild the language server only" ;
220220task ( "watch-tsserver" ) . flags = {
221221 " --built" : "Compile using the built version of the compiler."
222- }
222+ } ;
223223
224224task ( "min" , series ( preBuild , parallel ( buildTsc , buildServer ) ) ) ;
225225task ( "min" ) . description = "Builds only tsc and tsserver" ;
226226task ( "min" ) . flags = {
227227 " --built" : "Compile using the built version of the compiler."
228- }
228+ } ;
229229
230230task ( "clean-min" , series ( cleanTsc , cleanServer ) ) ;
231231task ( "clean-min" ) . description = "Cleans outputs for tsc and tsserver" ;
@@ -234,7 +234,7 @@ task("watch-min", series(preBuild, parallel(watchLib, watchDiagnostics, watchTsc
234234task ( "watch-min" ) . description = "Watches for changes to a tsc and tsserver only" ;
235235task ( "watch-min" ) . flags = {
236236 " --built" : "Compile using the built version of the compiler."
237- }
237+ } ;
238238
239239const buildLssl = ( ( ) => {
240240 // build tsserverlibrary.out.js
@@ -268,7 +268,7 @@ task("lssl", series(preBuild, buildLssl));
268268task ( "lssl" ) . description = "Builds language service server library" ;
269269task ( "lssl" ) . flags = {
270270 " --built" : "Compile using the built version of the compiler."
271- }
271+ } ;
272272
273273const cleanLssl = async ( ) => {
274274 if ( fs . existsSync ( "built/local/tsserverlibrary.tsconfig.json" ) ) {
@@ -302,14 +302,14 @@ task("watch-lssl", series(preBuild, parallel(watchLib, watchDiagnostics, watchLs
302302task ( "watch-lssl" ) . description = "Watch for changes and rebuild tsserverlibrary only" ;
303303task ( "watch-lssl" ) . flags = {
304304 " --built" : "Compile using the built version of the compiler."
305- }
305+ } ;
306306
307307const buildTests = ( ) => buildProject ( "src/testRunner" ) ;
308308task ( "tests" , series ( preBuild , parallel ( buildLssl , buildTests ) ) ) ;
309309task ( "tests" ) . description = "Builds the test infrastructure" ;
310310task ( "tests" ) . flags = {
311311 " --built" : "Compile using the built version of the compiler."
312- }
312+ } ;
313313
314314const cleanTests = ( ) => cleanProject ( "src/testRunner" ) ;
315315cleanTasks . push ( cleanTests ) ;
@@ -396,13 +396,13 @@ task("local", series(buildFoldStart, preBuild, parallel(localize, buildTsc, buil
396396task ( "local" ) . description = "Builds the full compiler and services" ;
397397task ( "local" ) . flags = {
398398 " --built" : "Compile using the built version of the compiler."
399- }
399+ } ;
400400
401401task ( "watch-local" , series ( preBuild , parallel ( watchLib , watchDiagnostics , watchTsc , watchServices , watchServer , watchLssl ) ) ) ;
402402task ( "watch-local" ) . description = "Watches for changes to projects in src/ (but does not execute tests)." ;
403403task ( "watch-local" ) . flags = {
404404 " --built" : "Compile using the built version of the compiler."
405- }
405+ } ;
406406
407407const generateCodeCoverage = ( ) => exec ( "istanbul" , [ "cover" , "node_modules/mocha/bin/_mocha" , "--" , "-R" , "min" , "-t" , "" + cmdLineOptions . testTimeout , "built/local/run.js" ] ) ;
408408task ( "generate-code-coverage" , series ( preBuild , buildTests , generateCodeCoverage ) ) ;
@@ -432,7 +432,7 @@ task("runtests").flags = {
432432 " --built" : "Compile using the built version of the compiler." ,
433433 " --shards" : "Total number of shards running tests (default: 1)" ,
434434 " --shardId" : "1-based ID of this shard (default: 1)" ,
435- }
435+ } ;
436436
437437const runTestsParallel = ( ) => runConsoleTests ( "built/local/run.js" , "min" , /*runInParallel*/ true , /*watchMode*/ false ) ;
438438task ( "runtests-parallel" , series ( preBuild , preTest , runTestsParallel , postTest ) ) ;
@@ -493,7 +493,7 @@ task("tsc-instrumented", series(lkgPreBuild, parallel(localize, buildTsc, buildS
493493task ( "tsc-instrumented" ) . description = "Builds an instrumented tsc.js" ;
494494task ( "tsc-instrumented" ) . flags = {
495495 "-t --tests=<testname>" : "The test to run."
496- }
496+ } ;
497497
498498// TODO(rbuckton): Determine if we still need this task. Depending on a relative
499499// path here seems like a bad idea.
@@ -548,7 +548,7 @@ task("LKG", series(lkgPreBuild, parallel(localize, buildTsc, buildServer, buildS
548548task ( "LKG" ) . description = "Makes a new LKG out of the built js files" ;
549549task ( "LKG" ) . flags = {
550550 " --built" : "Compile using the built version of the compiler." ,
551- }
551+ } ;
552552
553553const generateSpec = ( ) => exec ( "cscript" , [ "//nologo" , "scripts/word2md.js" , path . resolve ( "doc/TypeScript Language Specification.docx" ) , path . resolve ( "doc/spec.md" ) ] ) ;
554554task ( "generate-spec" , series ( buildScripts , generateSpec ) ) ;
@@ -557,15 +557,15 @@ task("generate-spec").description = "Generates a Markdown version of the Languag
557557task ( "clean" , series ( parallel ( cleanTasks ) , cleanBuilt ) ) ;
558558task ( "clean" ) . description = "Cleans build outputs" ;
559559
560- const configureNightly = ( ) => exec ( process . execPath , [ "scripts/configurePrerelease.js" , "dev" , "package.json" , "src/compiler/core.ts" ] )
560+ const configureNightly = ( ) => exec ( process . execPath , [ "scripts/configurePrerelease.js" , "dev" , "package.json" , "src/compiler/core.ts" ] ) ;
561561task ( "configure-nightly" , series ( buildScripts , configureNightly ) ) ;
562562task ( "configure-nightly" ) . description = "Runs scripts/configurePrerelease.ts to prepare a build for nightly publishing" ;
563563
564- const configureInsiders = ( ) => exec ( process . execPath , [ "scripts/configurePrerelease.js" , "insiders" , "package.json" , "src/compiler/core.ts" ] )
564+ const configureInsiders = ( ) => exec ( process . execPath , [ "scripts/configurePrerelease.js" , "insiders" , "package.json" , "src/compiler/core.ts" ] ) ;
565565task ( "configure-insiders" , series ( buildScripts , configureInsiders ) ) ;
566566task ( "configure-insiders" ) . description = "Runs scripts/configurePrerelease.ts to prepare a build for insiders publishing" ;
567567
568- const configureExperimental = ( ) => exec ( process . execPath , [ "scripts/configurePrerelease.js" , "experimental" , "package.json" , "src/compiler/core.ts" ] )
568+ const configureExperimental = ( ) => exec ( process . execPath , [ "scripts/configurePrerelease.js" , "experimental" , "package.json" , "src/compiler/core.ts" ] ) ;
569569task ( "configure-experimental" , series ( buildScripts , configureExperimental ) ) ;
570570task ( "configure-experimental" ) . description = "Runs scripts/configurePrerelease.ts to prepare a build for experimental publishing" ;
571571
0 commit comments