skipMbsCheckStyle param support implemented

dependabot/npm_and_yarn/BuildServer/eslint-7.2.0
Inga 🏳‍🌈 9 years ago
parent eaa37319a8
commit d71230c3eb
  1. 57
      BuildServer/lib/tasks/dotnetbuild.js

@ -3,31 +3,38 @@
var sequential = require('./sequential');
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({
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"
}
}
]
tasks: tasks
}, processor);
};

Loading…
Cancel
Save