|
|
@ -3,31 +3,38 @@ |
|
|
|
var sequential = require('./sequential'); |
|
|
|
var sequential = require('./sequential'); |
|
|
|
|
|
|
|
|
|
|
|
module.exports = function (params, processor) { |
|
|
|
module.exports = function (params, processor) { |
|
|
|
|
|
|
|
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, |
|
|
|
|
|
|
|
skipCodeSigning: params.skipCodeSigning, |
|
|
|
|
|
|
|
forceCodeAnalysis: params.forceCodeAnalysis, |
|
|
|
|
|
|
|
ignoreCodeAnalysis: params.ignoreCodeAnalysis, |
|
|
|
|
|
|
|
configuration: params.configuration, |
|
|
|
|
|
|
|
target: "Build" |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
return sequential({ |
|
|
|
return sequential({ |
|
|
|
tasks: [ |
|
|
|
tasks: tasks |
|
|
|
{ |
|
|
|
|
|
|
|
type: "dotnetcheckstyle", |
|
|
|
|
|
|
|
params: params |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
type: "dotnetrewrite", |
|
|
|
|
|
|
|
params: params |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
type: "dotnetnugetrestore", |
|
|
|
|
|
|
|
params: params |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
type: "dotnetcompile", |
|
|
|
|
|
|
|
params: { |
|
|
|
|
|
|
|
solution: params.solution, |
|
|
|
|
|
|
|
skipCodeSigning: params.skipCodeSigning, |
|
|
|
|
|
|
|
forceCodeAnalysis: params.forceCodeAnalysis, |
|
|
|
|
|
|
|
ignoreCodeAnalysis: params.ignoreCodeAnalysis, |
|
|
|
|
|
|
|
configuration: params.configuration, |
|
|
|
|
|
|
|
target: "Build" |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
] |
|
|
|
|
|
|
|
}, processor); |
|
|
|
}, processor); |
|
|
|
}; |
|
|
|
}; |
|
|
|