|
|
|
@ -3,21 +3,26 @@ |
|
|
|
|
var sequential = require('./sequential'); |
|
|
|
|
|
|
|
|
|
module.exports = function (params, processor) { |
|
|
|
|
return sequential({ |
|
|
|
|
tasks: [ |
|
|
|
|
{ |
|
|
|
|
var tasks = []; |
|
|
|
|
|
|
|
|
|
if (!params.skipMbsCheckStyle) { |
|
|
|
|
tasks.push({ |
|
|
|
|
type: "dotnetcheckstyle", |
|
|
|
|
params: params |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
tasks.push({ |
|
|
|
|
type: "dotnetrewrite", |
|
|
|
|
params: params |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
tasks.push({ |
|
|
|
|
type: "dotnetnugetrestore", |
|
|
|
|
params: params |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
tasks.push({ |
|
|
|
|
type: "dotnetcompile", |
|
|
|
|
params: { |
|
|
|
|
solution: params.solution, |
|
|
|
@ -27,7 +32,9 @@ module.exports = function (params, processor) { |
|
|
|
|
configuration: params.configuration, |
|
|
|
|
target: "Build" |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
] |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
return sequential({ |
|
|
|
|
tasks: tasks |
|
|
|
|
}, processor); |
|
|
|
|
}; |
|
|
|
|