Skip to content

Commit b406d54

Browse files
git Merge branch 'master' into correctlyCacheTaggedTemplates
2 parents 0b7538d + d407f14 commit b406d54

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+15598
-11886
lines changed

Gulpfile.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -978,8 +978,9 @@ gulp.task(instrumenterJsPath, /*help*/ false, [servicesFile], () => {
978978
.pipe(gulp.dest(builtLocalDirectory));
979979
});
980980

981-
gulp.task("tsc-instrumented", "Builds an instrumented tsc.js", ["local", loggedIOJsPath, instrumenterJsPath, servicesFile], (done) => {
982-
exec(host, [instrumenterJsPath, "record", "iocapture", builtLocalCompiler], done, done);
981+
gulp.task("tsc-instrumented", "Builds an instrumented tsc.js - run with --test=[testname]", ["local", loggedIOJsPath, instrumenterJsPath, servicesFile], (done) => {
982+
const test = cmdLineOptions["tests"] || "iocapture";
983+
exec(host, [instrumenterJsPath, "record", test, builtLocalCompiler], done, done);
983984
});
984985

985986
gulp.task("update-sublime", "Updates the sublime plugin's tsserver", ["local", serverFile], () => {

Jakefile.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1104,9 +1104,10 @@ var instrumenterPath = harnessDirectory + 'instrumenter.ts';
11041104
var instrumenterJsPath = builtLocalDirectory + 'instrumenter.js';
11051105
compileFile(instrumenterJsPath, [instrumenterPath], [tscFile, instrumenterPath].concat(libraryTargets), [], /*useBuiltCompiler*/ true, { lib: "es6", types: ["node"], noOutFile: true, outDir: builtLocalDirectory });
11061106

1107-
desc("Builds an instrumented tsc.js");
1107+
desc("Builds an instrumented tsc.js - run with test=[testname]");
11081108
task('tsc-instrumented', [loggedIOJsPath, instrumenterJsPath, tscFile], function () {
1109-
var cmd = host + ' ' + instrumenterJsPath + ' record iocapture ' + builtLocalDirectory + compilerFilename;
1109+
var test = process.env.test || process.env.tests || process.env.t || "iocapture";
1110+
var cmd = host + ' ' + instrumenterJsPath + " record " + test + " " + builtLocalDirectory + compilerFilename;
11101111
console.log(cmd);
11111112
var ex = jake.createExec([cmd]);
11121113
ex.addListener("cmdEnd", function () {

lib/lib.d.ts

Lines changed: 235 additions & 163 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)