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.
 
 
 
 
micro-build-server/BuildServer/lib/tasks/dotnetbuildwithoutcleanup.js

42 lines
957 B

"use strict";
const sequential = require("./sequential");
const createTasks = function *(params) {
if (!params.skipMbsCheckStyle) {
yield {
params,
"type": "dotnetcheckstyle"
};
}
yield {
params,
"type": "dotnetrewrite"
};
if (!params.skipNugetRestore) {
yield {
params,
"type": "dotnetnugetrestore"
};
}
yield {
"params": {
"configuration": params.configuration,
"forceCodeAnalysis": params.forceCodeAnalysis,
"ignoreCodeAnalysis": params.ignoreCodeAnalysis,
"skipCodeSigning": params.skipCodeSigning,
"solution": params.solution,
"target": "Rebuild"
},
"type": "dotnetcompile"
};
};
module.exports = (params, processor) => {
const tasks = Array.from(createTasks(params));
return sequential({ tasks }, processor);
};