Refactored dotnet-builder-wrapper

dependabot/npm_and_yarn/BuildServer/eslint-7.2.0
Inga 🏳‍🌈 11 years ago
parent 7bca2e50d6
commit a11275f9cd
  1. 5
      BuildServer/lib/tasks/dotnetbuild.js
  2. 2
      BuildServer/lib/tasks/dotnetbuilderwrapper.js

@ -4,7 +4,8 @@ var dotNetBuilderWrapper = require('./dotnetbuilderwrapper');
module.exports = function (params, processor) { module.exports = function (params, processor) {
return dotNetBuilderWrapper({ return dotNetBuilderWrapper({
"SolutionPath": processor.context.exported + "/" + params.solution, command: "compile",
"OutputPath": processor.context.release + "/" + params.solution + "/" SolutionPath: processor.context.exported + "/" + params.solution//,
// OutputPath: processor.context.release + "/" + params.solution + "/"
}, processor); }, processor);
}; };

@ -7,7 +7,7 @@ module.exports = function (params, processor) {
process: function () { process: function () {
var result = "", var result = "",
error = "", error = "",
builder = spawn("../DotNetBuilder/bin/Debug/MicroBuildServer.DotNetBuilder.exe", ["compile"]); builder = spawn("../DotNetBuilder/bin/Debug/MicroBuildServer.DotNetBuilder.exe", [params.command]);
builder.stdout.on('data', function (data) { builder.stdout.on('data', function (data) {
result += data; result += data;

Loading…
Cancel
Save