skipMbsCheckStyle param support implemented

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

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

Loading…
Cancel
Save