gulp.task("importDefinitelyTypedTests","Runs scripts/importDefinitelyTypedTests/importDefinitelyTypedTests.ts to copy DT's tests to the TS-internal RWC tests",[importDefinitelyTypedTestsJs],(done)=>{
returncontent+"\r\nexport = ts;\r\nexport as namespace ts;";
}))
.pipe(gulp.dest("src/server"))
]);
});
gulp.task(typesMapJson,/*help*/false,[],()=>{
returngulp.src("src/server/typesMap.json")
.pipe(insert.transform((contents,file)=>{
JSON.parse(contents);
returncontents;
}))
.pipe(gulp.dest(builtLocalDirectory));
});
gulp.task("lssl","Builds language service server library",[tsserverLibraryFile]);
gulp.task("local","Builds the full compiler and services",[builtLocalCompiler,servicesFile,serverFile,builtGeneratedDiagnosticMessagesJSON,tsserverLibraryFile]);
gulp.task("tsc","Builds only the compiler",[builtLocalCompiler]);
gulp.task("runtests-parallel","Runs all the tests in parallel using the built run.js file. Optional arguments are: --t[ests]=category1|category2|... --d[ebug]=true.",["build-rules","tests"],(done)=>{
"Runs the tests using the built run.js file. Optional arguments are: --t[ests]=regex --r[eporter]=[list|spec|json|<more>] --d[ebug]=true --color[s]=false --lint=true.",
gulp.task("runtests-browser","Runs the tests using the built run.js file like 'gulp runtests'. Syntax is gulp runtests-browser. Additional optional parameters --tests=[regex], --browser=[chrome|IE]",["browserify",nodeServerOutFile],(done)=>{