forked from cake-build/cake-rider
-
Notifications
You must be signed in to change notification settings - Fork 0
/
recipe.cake
30 lines (24 loc) · 1.08 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
29
30
#load nuget:?package=Cake.IntelliJ.Recipe&version=0.3.0
Environment.SetVariableNames(
githubTokenVariable: "GITHUB_PAT"
);
IntelliJBuildParameters.SetParameters(
context: Context,
buildSystem: BuildSystem,
sourceDirectoryPath: "./src/rider",
title: "Cake for Rider",
repositoryName: "Cake-Rider",
repositoryOwner: "cake-build",
marketplaceId: "15729-cake-rider",
webLinkRoot: "", // do *not* create a virtual directory for wyam docs. This setting will break gh-pages. (But work for preview)
wyamConfigurationFile: MakeAbsolute((FilePath)"docs/wyam.config"),
shouldRunPluginVerifier: !IsRunningOnLinux(),
intelliJAnalyzerTasks: new[]{ "detekt", "verifyPlugin" }, // skip ktlintCheck for now
preferredBuildProviderType: BuildProviderType.GitHubActions,
preferredBuildAgentOperatingSystem: PlatformFamily.Windows
);
IntelliJBuildParameters.PrintParameters(Context);
ToolSettings.SetToolPreprocessorDirectives(
gitReleaseManagerGlobalTool: "#tool dotnet:?package=GitReleaseManager.Tool&version=0.17.0");
ToolSettings.SetToolSettings(context: Context);
IntelliJBuild.Run();