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/dotnetbuild.ts

31 lines
950 B

"use strict";
import { GenericTask } from "../types";
import cleanupafterdotnetbuild from "./cleanupafterdotnetbuild";
import dotnetbuildwithoutcleanup from "./dotnetbuildwithoutcleanup";
import sequential from "./sequential";
interface IDotNetBuildParameters {
readonly skipMbsCheckStyle?: boolean;
readonly forceCodeAnalysis?: boolean;
readonly ignoreCodeAnalysis?: boolean;
readonly skipCodeAnalysis: boolean;
readonly skipCodeSigning?: boolean;
readonly skipNugetRestore?: boolean;
readonly configuration: string;
readonly solution: string;
readonly ignoreCodeStyle: boolean;
}
export default ((params) => (processor) => sequential({
tasks: [
{
name: "build",
task: dotnetbuildwithoutcleanup(params),
},
{
name: "cleanup",
task: cleanupafterdotnetbuild({}),
},
],
})(processor)) as GenericTask<IDotNetBuildParameters>;