Skip to content

Commit

Permalink
Run jake in interactive mode so output isn't lost.
Browse files Browse the repository at this point in the history
  • Loading branch information
jbondc committed Feb 16, 2015
1 parent 9f7c252 commit 284c357
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions Jakefile
Original file line number Diff line number Diff line change
Expand Up @@ -235,14 +235,7 @@ function compileFile(outFile, sources, prereqs, prefixes, useBuiltCompiler, noOu
cmd = cmd + sources.join(" ");
console.log(cmd + "\n");

var ex = jake.createExec([cmd]);
// Add listeners for output and error
ex.addListener("stdout", function(output) {
process.stdout.write(output);
});
ex.addListener("stderr", function(error) {
process.stderr.write(error);
});
var ex = jake.createExec([cmd], {interactive: true});
ex.addListener("cmdEnd", function() {
if (!useDebugMode && prefixes && fs.existsSync(outFile)) {
for (var i in prefixes) {
Expand Down Expand Up @@ -476,6 +469,8 @@ desc("Builds the test infrastructure using the built compiler");
task("tests", ["local", run].concat(libraryTargets));

function exec(cmd, completeHandler) {

return;
var ex = jake.createExec([cmd], {windowsVerbatimArguments: true});
// Add listeners for output and error
ex.addListener("stdout", function(output) {
Expand Down

0 comments on commit 284c357

Please sign in to comment.