|
|
@ -1,13 +1,14 @@ |
|
|
|
"use strict"; |
|
|
|
"use strict"; |
|
|
|
|
|
|
|
|
|
|
|
var spawn = require('child_process').spawn; |
|
|
|
var spawn = require('child_process').spawn; |
|
|
|
|
|
|
|
var settings = require("../../settings"); |
|
|
|
|
|
|
|
|
|
|
|
module.exports = function (params, processor) { |
|
|
|
module.exports = function (params, processor) { |
|
|
|
return { |
|
|
|
return { |
|
|
|
process: function () { |
|
|
|
process: function () { |
|
|
|
var result = "", |
|
|
|
var result = "", |
|
|
|
error = "", |
|
|
|
error = "", |
|
|
|
builder = spawn("../DotNetBuilder/bin/Debug/MicroBuildServer.DotNetBuilder.exe", [params.command]); |
|
|
|
builder = spawn(settings.builderExecutable, [params.command]); |
|
|
|
|
|
|
|
|
|
|
|
builder.stdout.on('data', function (data) { |
|
|
|
builder.stdout.on('data', function (data) { |
|
|
|
result += data; |
|
|
|
result += data; |
|
|
|