-
Notifications
You must be signed in to change notification settings - Fork 5
/
recipe.cake
28 lines (22 loc) · 1.07 KB
/
recipe.cake
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#load nuget:?package=Cake.Recipe&version=3.1.1
Environment.SetVariableNames();
var standardNotificationMessage = "Version {0} of {1} has just been released, this will be available here https://www.nuget.org/packages/{1}, once package indexing is complete.";
BuildParameters.SetParameters(
context: Context,
buildSystem: BuildSystem,
sourceDirectoryPath: "./src",
masterBranchName: "main",
title: "CakeContrib.Guidelines",
shouldRunDotNetCorePack: true,
shouldDocumentSourceFiles: false,
testFilePattern: "/**/*.Tests.csproj", // omit integration-tests in CI-Build
repositoryOwner: "cake-contrib",
gitterMessage: "@/all " + standardNotificationMessage,
twitterMessage: standardNotificationMessage,
shouldRunCodecov: false,
preferredBuildProviderType: BuildProviderType.GitHubActions);
BuildParameters.PrintParameters(Context);
ToolSettings.SetToolSettings(context: Context);
ToolSettings.SetToolPreprocessorDirectives(
reSharperTools: "#tool nuget:?package=JetBrains.ReSharper.CommandLineTools&version=2022.2.4");
Build.RunDotNetCore();