Build server prototype (integration with GitHub / NuGet / etc)
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
"use strict";
|
|
|
|
|
|
|
|
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
|
|
|
|
});
|
|
|
|
|
|
|
|
if (!params.skipNugetRestore) {
|
|
|
|
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: "Rebuild"
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
tasks.push({
|
|
|
|
type: "cleanupafterdotnetbuild"
|
|
|
|
});
|
|
|
|
|
|
|
|
return sequential({
|
|
|
|
tasks: tasks
|
|
|
|
}, processor);
|
|
|
|
};
|