├── .config └── dotnet-tools.json ├── .editorconfig ├── .gitattributes ├── .github ├── ISSUE_TEMPLATE │ ├── bug-report.yml │ └── config.yml ├── PULL_REQUEST_TEMPLATE.md └── workflows │ ├── build.yml │ └── codeql-analysis.yml ├── .gitignore ├── .gitlab-ci.yml ├── .gitpod.yml ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── GitReleaseManager.yaml ├── GitVersion.yml ├── LICENSE ├── README.md ├── ReleaseNotes.md ├── SECURITY.md ├── appveyor.yml ├── bitbucket-pipelines.yml ├── build.cake ├── build.ps1 ├── build.sh ├── build ├── credentials.cake ├── packages.cake ├── parameters.cake ├── paths.cake ├── signclient.filter └── version.cake ├── global.json ├── nuspec ├── NuGet.org.md └── cake-medium.png ├── src ├── Cake.Cli │ ├── Cake.Cli.csproj │ ├── Features │ │ ├── InfoFeature.cs │ │ ├── VersionFeature.cs │ │ └── VersionResolver.cs │ ├── Hosts │ │ ├── BuildScriptHost.cs │ │ ├── DescriptionScriptHost.cs │ │ ├── DryRunExecutionStrategy.cs │ │ ├── DryRunScriptHost.cs │ │ └── TreeScriptHost.cs │ └── Infrastructure │ │ ├── CakeSpectreReportPrinter.cs │ │ ├── DoubleBorder.cs │ │ ├── ExceptionLogger.cs │ │ ├── FilePathConverter.cs │ │ ├── RemainingArgsParser.cs │ │ ├── SingleBorder.cs │ │ └── VerbosityConverter.cs ├── Cake.Common.Tests │ ├── Cake.Common.Tests.csproj │ ├── CrossCutting │ │ └── ToolSettingsTests.cs │ ├── Fakes │ │ └── FakeBuildSystemServiceMessageWriter.cs │ ├── Fixtures │ │ ├── AssemblyInfoFixture.cs │ │ ├── AssemblyInfoFixture_VB.cs │ │ ├── AssemblyInfoParserFixture.cs │ │ ├── AssemblyInfoParserFixture_VB.cs │ │ ├── Build │ │ │ ├── AppVeyorFixture.cs │ │ │ ├── AppVeyorInfoFixture.cs │ │ │ ├── AzurePipelinesFixture.cs │ │ │ ├── AzurePipelinesInfoFixture.cs │ │ │ ├── BambooFixture.cs │ │ │ ├── BambooInfoFixture.cs │ │ │ ├── BitbucketPipelinesInfoFixture.cs │ │ │ ├── BitriseFixture.cs │ │ │ ├── BitriseInfoFixture.cs │ │ │ ├── ContinuaCIFixture.cs │ │ │ ├── ContinuaCIInfoFixture.cs │ │ │ ├── GitHubActionsCommandsFixture.cs │ │ │ ├── GitHubActionsFixture.cs │ │ │ ├── GitHubActionsInfoFixture.cs │ │ │ ├── GitLabCIFixture.cs │ │ │ ├── GitLabCIInfoFixture.cs │ │ │ ├── GoCDFixture.cs │ │ │ ├── GoCDInfoFixture.cs │ │ │ ├── JenkinsFixture.cs │ │ │ ├── JenkinsInfoFixture.cs │ │ │ ├── MyGetFixture.cs │ │ │ ├── TeamCityFixture.cs │ │ │ ├── TeamCityInfoFixture.cs │ │ │ ├── TravisCIFixture.cs │ │ │ └── TravisCIInfoFixture.cs │ │ ├── Diagnostics │ │ │ └── LogActionFixture.cs │ │ ├── IO │ │ │ ├── FileCopierFixture.cs │ │ │ ├── FileCopyFixture.cs │ │ │ ├── FileDeleteFixture.cs │ │ │ └── FileSystemFixture.cs │ │ ├── ProcessFixture.cs │ │ ├── Solution │ │ │ ├── Project │ │ │ │ └── ProjectParserFixture.cs │ │ │ └── SolutionParserFixture.cs │ │ ├── TextTransformationFixture.cs │ │ ├── Tools │ │ │ ├── CakeRunnerFixture.cs │ │ │ ├── CandleFixture.cs │ │ │ ├── Chocolatey │ │ │ │ ├── ApiKey │ │ │ │ │ └── ChocolateyApiKeySetterFixture.cs │ │ │ │ ├── ChocolateyFixture.cs │ │ │ │ ├── Config │ │ │ │ │ └── ChocolateyConfigSetterFixture.cs │ │ │ │ ├── Download │ │ │ │ │ └── ChocolateyDownloadFixture.cs │ │ │ │ ├── Export │ │ │ │ │ └── ChocolateyExportFixture.cs │ │ │ │ ├── Features │ │ │ │ │ ├── ChocolateyDisableFeatureFixture.cs │ │ │ │ │ ├── ChocolateyEnableFeatureFixture.cs │ │ │ │ │ └── ChocolateyFeatureTogglerFixture.cs │ │ │ │ ├── Installer │ │ │ │ │ ├── ChocolateyInstallerFixture.cs │ │ │ │ │ └── ChocolateyInstallerFromConfigFixture.cs │ │ │ │ ├── New │ │ │ │ │ └── ChocolateyNewFixture.cs │ │ │ │ ├── Packer │ │ │ │ │ ├── ChocolateyPackerFixture.cs │ │ │ │ │ ├── ChocolateyPackerFixtureResult.cs │ │ │ │ │ ├── ChocolateyPackerWithNuSpecFixture.cs │ │ │ │ │ └── ChocolateyPackerWithoutNuSpecFixture.cs │ │ │ │ ├── Pin │ │ │ │ │ └── ChocolateyPinnerFixture.cs │ │ │ │ ├── Push │ │ │ │ │ └── ChocolateyPusherFixture.cs │ │ │ │ ├── Sources │ │ │ │ │ ├── ChocolateyAddSourceFixture.cs │ │ │ │ │ ├── ChocolateyDisableSourceFixture.cs │ │ │ │ │ ├── ChocolateyEnableSourceFixture.cs │ │ │ │ │ ├── ChocolateyRemoveSourceFixture.cs │ │ │ │ │ └── ChocolateySourcesFixture.cs │ │ │ │ ├── Uninstaller │ │ │ │ │ └── ChocolateyUninstallerFixture.cs │ │ │ │ └── Upgrade │ │ │ │ │ └── ChocolateyUpgraderFixture.cs │ │ │ ├── Command │ │ │ │ ├── CommandRunnerFixture.cs │ │ │ │ ├── CommandRunnerStandardErrorFixture.cs │ │ │ │ ├── CommandRunnerStandardOutFixture.cs │ │ │ │ └── CommandRunnerStandardOutputFixtureExtentions.cs │ │ │ ├── DotCover │ │ │ │ ├── Analyse │ │ │ │ │ └── DotCoverAnalyserFixture.cs │ │ │ │ ├── Cover │ │ │ │ │ └── DotCoverCovererFixture.cs │ │ │ │ ├── DotCoverFixture.cs │ │ │ │ ├── Merge │ │ │ │ │ └── DotCoverMergerFixture.cs │ │ │ │ └── Report │ │ │ │ │ └── DotCoverReporterFixture.cs │ │ │ ├── DotNet │ │ │ │ ├── DotNetFixture.cs │ │ │ │ ├── Format │ │ │ │ │ └── DotNetFormatterFixture.cs │ │ │ │ ├── MSBuild │ │ │ │ │ └── DotNetCoreMSBuildBuilderFixture.cs │ │ │ │ ├── Package │ │ │ │ │ ├── Add │ │ │ │ │ │ └── DotNetPackageAdderFixture.cs │ │ │ │ │ ├── List │ │ │ │ │ │ └── DotNetPackageListerFixture.cs │ │ │ │ │ ├── Remove │ │ │ │ │ │ └── DotNetPackageRemoverFixture.cs │ │ │ │ │ └── Search │ │ │ │ │ │ └── DotNetPackageSearcherFixture.cs │ │ │ │ ├── Reference │ │ │ │ │ ├── Add │ │ │ │ │ │ └── DotNetReferenceAdderFixture.cs │ │ │ │ │ ├── List │ │ │ │ │ │ └── DotNetReferenceListerFixture.cs │ │ │ │ │ └── Remove │ │ │ │ │ │ └── DotNetReferenceRemoverFixture.cs │ │ │ │ ├── SDKCheck │ │ │ │ │ └── DotNetSDKCheckerFixture.cs │ │ │ │ ├── Sln │ │ │ │ │ ├── Add │ │ │ │ │ │ └── DotNetSlnAdderFixture.cs │ │ │ │ │ ├── List │ │ │ │ │ │ └── DotNetSlnListerFixture.cs │ │ │ │ │ └── Remove │ │ │ │ │ │ └── DotNetSlnRemoverFixture.cs │ │ │ │ └── Workload │ │ │ │ │ ├── Install │ │ │ │ │ └── DotNetWorkloadInstallerFixture.cs │ │ │ │ │ ├── List │ │ │ │ │ └── DotNetWorkloadListerFixture.cs │ │ │ │ │ ├── Repair │ │ │ │ │ └── DotNetWorkloadRepairerFixture.cs │ │ │ │ │ ├── Restore │ │ │ │ │ └── DotNetWorkloadRestorerFixture.cs │ │ │ │ │ ├── Search │ │ │ │ │ └── DotNetWorkloadSearcherFixture.cs │ │ │ │ │ ├── Uninstall │ │ │ │ │ └── DotNetWorkloadUninstallerFixture.cs │ │ │ │ │ └── Update │ │ │ │ │ └── DotNetWorkloadUpdaterFixture.cs │ │ │ ├── DotNetCore │ │ │ │ ├── Build │ │ │ │ │ └── DotNetCoreBuilderFixture.cs │ │ │ │ ├── BuildServer │ │ │ │ │ └── DotNetCoreBuildServerFixture.cs │ │ │ │ ├── Clean │ │ │ │ │ └── DotNetCoreCleanerFixture.cs │ │ │ │ ├── DotNetCoreFixture.cs │ │ │ │ ├── Execute │ │ │ │ │ └── DotNetCoreExecutorFixture.cs │ │ │ │ ├── NuGet │ │ │ │ │ ├── Delete │ │ │ │ │ │ └── DotNetCoreNuGetDeleterFixture.cs │ │ │ │ │ ├── Push │ │ │ │ │ │ └── DotNetCoreNuGetPusherFixture.cs │ │ │ │ │ └── Source │ │ │ │ │ │ ├── DotNetCoreNuGetAddSourceFixture.cs │ │ │ │ │ │ ├── DotNetCoreNuGetDisableSourceFixture.cs │ │ │ │ │ │ ├── DotNetCoreNuGetEnableSourceFixture.cs │ │ │ │ │ │ ├── DotNetCoreNuGetHasSourceFixture.cs │ │ │ │ │ │ ├── DotNetCoreNuGetListSourceFixture.cs │ │ │ │ │ │ ├── DotNetCoreNuGetRemoveSourceFixture.cs │ │ │ │ │ │ ├── DotNetCoreNuGetSourcerFixture.cs │ │ │ │ │ │ └── DotNetCoreNuGetUpdateSourceFixture.cs │ │ │ │ ├── Pack │ │ │ │ │ └── DotNetCorePackerFixture.cs │ │ │ │ ├── Publish │ │ │ │ │ └── DotNetCorePublisherFixture.cs │ │ │ │ ├── Restore │ │ │ │ │ └── DotNetCoreRestorerFixture.cs │ │ │ │ ├── Run │ │ │ │ │ └── DotNetCoreRunnerFixture.cs │ │ │ │ ├── Test │ │ │ │ │ └── DotNetCoreTesterFixture.cs │ │ │ │ ├── Tool │ │ │ │ │ └── DotNetCoreToolFixture.cs │ │ │ │ └── VSTest │ │ │ │ │ └── DotNetCoreVSTesterFixture.cs │ │ │ ├── DupFinder │ │ │ │ ├── DupFinderRunnerConfigFixture.cs │ │ │ │ └── DupFinderRunnerFixture.cs │ │ │ ├── FixieRunnerFixture.cs │ │ │ ├── GitLink3Fixture.cs │ │ │ ├── GitLinkFixture.cs │ │ │ ├── GitReleaseManager │ │ │ │ ├── GitReleaseManagerAssetsAdderFixture.cs │ │ │ │ ├── GitReleaseManagerCreatorFixture.cs │ │ │ │ ├── GitReleaseManagerDiscarderFixture.cs │ │ │ │ ├── GitReleaseManagerExporterFixture.cs │ │ │ │ ├── GitReleaseManagerLabellerFixture.cs │ │ │ │ ├── GitReleaseManagerMilestoneCloserFixture.cs │ │ │ │ ├── GitReleaseManagerMilestoneOpenerFixture.cs │ │ │ │ └── GitReleaseManagerPublisherFixture.cs │ │ │ ├── GitReleaseManagerFixture.cs │ │ │ ├── GitReleaseNotesRunnerFixture.cs │ │ │ ├── GitVersionRunnerFixture.cs │ │ │ ├── ILMergeRunnerFixture.cs │ │ │ ├── ILRepackRunnerFixture.cs │ │ │ ├── InnoSetupFixture.cs │ │ │ ├── InspectCode │ │ │ │ ├── InspectCodeFixture.cs │ │ │ │ ├── InspectCodeRunFixture.cs │ │ │ │ └── InspectCodeRunFromConfigFixture.cs │ │ │ ├── MSBuildRunnerFixture.cs │ │ │ ├── MSTestRunnerFixture.cs │ │ │ ├── MSpecRunnerFixture.cs │ │ │ ├── NSISFixture.cs │ │ │ ├── NUnit3RunnerFixture.cs │ │ │ ├── NUnitRunnerFixture.cs │ │ │ ├── NuGet │ │ │ │ ├── Add │ │ │ │ │ └── NuGetAdderFixture.cs │ │ │ │ ├── Deleter │ │ │ │ │ └── NuGetDeleterFixture.cs │ │ │ │ ├── Init │ │ │ │ │ └── NuGetIniterFixture.cs │ │ │ │ ├── Installer │ │ │ │ │ ├── NuGetInstallerFixture.cs │ │ │ │ │ └── NuGetInstallerFromConfigFixture.cs │ │ │ │ ├── List │ │ │ │ │ └── NuGetListFixture.cs │ │ │ │ ├── NuGetFixture.cs │ │ │ │ ├── Packer │ │ │ │ │ ├── NuGetPackerFixture.cs │ │ │ │ │ ├── NuGetPackerFixtureResult.cs │ │ │ │ │ ├── NuGetPackerWithNuSpecFixture.cs │ │ │ │ │ ├── NuGetPackerWithProjectFileFixture.cs │ │ │ │ │ └── NuGetPackerWithoutNuSpecFixture.cs │ │ │ │ ├── Pusher │ │ │ │ │ └── NuGetPusherFixture.cs │ │ │ │ ├── Restorer │ │ │ │ │ └── NuGetRestorerFixture.cs │ │ │ │ ├── SetApiKey │ │ │ │ │ └── NuGetSetApiKeyFixture.cs │ │ │ │ ├── SetProxy │ │ │ │ │ └── NuGetSetProxyFixture.cs │ │ │ │ ├── Sources │ │ │ │ │ ├── NuGetAddSourceFixture.cs │ │ │ │ │ ├── NuGetHasSourceFixture.cs │ │ │ │ │ ├── NuGetRemoveSourceFixture.cs │ │ │ │ │ └── NuGetSourcesFixture.cs │ │ │ │ └── Update │ │ │ │ │ └── NuGetUpdateFixture.cs │ │ │ ├── OctopusDeployPackerFixture.cs │ │ │ ├── OctopusDeployPusherFixture.cs │ │ │ ├── OctopusDeployReleaseCreatorFixture.cs │ │ │ ├── OctopusDeployReleaseDeployerFixture.cs │ │ │ ├── OctopusDeployReleasePromoterFixture.cs │ │ │ ├── OctopusDeploymentQuerierFixture.cs │ │ │ ├── OpenCoverFixture.cs │ │ │ ├── ReportGeneratorRunnerFixture.cs │ │ │ ├── ReportUnit │ │ │ │ ├── ReportUnitDirectoryFixture.cs │ │ │ │ └── ReportUnitFileFixture.cs │ │ │ ├── RoundhouseRunnerFixture.cs │ │ │ ├── SignToolResolverFixture.cs │ │ │ ├── SignToolSignRunnerFixture.cs │ │ │ ├── SpecFlow │ │ │ │ ├── SpecFlowFixture.cs │ │ │ │ ├── StepDefinitionReport │ │ │ │ │ └── SpecFlowStepDefinitionReporterFixture.cs │ │ │ │ └── TestExecutionReport │ │ │ │ │ └── SpecFlowTestExecutionReporterFixture.cs │ │ │ ├── TextTransform │ │ │ │ └── TextTransformFixture.cs │ │ │ ├── VSTestRunnerFixture.cs │ │ │ ├── VSWhere │ │ │ │ ├── All │ │ │ │ │ └── VSWhereAllFixture.cs │ │ │ │ ├── Latest │ │ │ │ │ └── VSWhereLatestFixture.cs │ │ │ │ ├── Legacy │ │ │ │ │ └── VSWhereLegacyFixture.cs │ │ │ │ ├── Product │ │ │ │ │ └── VSWhereProductFixture.cs │ │ │ │ ├── VSWhereFixture.cs │ │ │ │ └── VSWhereToolFixture.cs │ │ │ ├── WiX │ │ │ │ └── HeatFixture.cs │ │ │ ├── WiXFixture.cs │ │ │ ├── XUnit2RunnerFixture.cs │ │ │ └── XUnitRunnerFixture.cs │ │ ├── XmlDocExampleCodeParserFixture.cs │ │ ├── XmlPeekAliasesFixture.cs │ │ ├── XmlPokeFixture.cs │ │ └── XmlTransformationFixture.cs │ ├── Properties │ │ ├── AssemblyInfo.cs │ │ ├── PropertyList-1.0.dtd │ │ ├── Resources.Designer.cs │ │ └── Resources.resx │ └── Unit │ │ ├── ArgumentAliasesTests.cs │ │ ├── Build │ │ ├── AppVeyor │ │ │ ├── AppVeyorProviderTests.cs │ │ │ └── Data │ │ │ │ ├── AppVeyorBuildInfoTests.cs │ │ │ │ ├── AppVeyorCommitInfoTests.cs │ │ │ │ ├── AppVeyorEnvironmentInfoTests.cs │ │ │ │ ├── AppVeyorProjectInfoTests.cs │ │ │ │ ├── AppVeyorPullRequestInfoTests.cs │ │ │ │ ├── AppVeyorRepositoryInfoTests.cs │ │ │ │ └── AppVeyorTagInfoTests.cs │ │ ├── AzurePipelines │ │ │ ├── AzurePipelinesCommandTests.cs │ │ │ ├── AzurePipelinesProviderTests.cs │ │ │ └── Data │ │ │ │ ├── AzurePipelinesAgentInfoTests.cs │ │ │ │ ├── AzurePipelinesDefinitionInfoTests.cs │ │ │ │ ├── AzurePipelinesInfoTests.cs │ │ │ │ ├── AzurePipelinesPullRequestInfoTests.cs │ │ │ │ ├── AzurePipelinesRepositoryInfoTests.cs │ │ │ │ └── AzurePipelinesTeamProjectInfoTests.cs │ │ ├── Bamboo │ │ │ ├── BambooProviderTests.cs │ │ │ └── Data │ │ │ │ ├── BambooBuildInfoTests.cs │ │ │ │ ├── BambooCommitInfoTests.cs │ │ │ │ ├── BambooCustomBuildInfoTests.cs │ │ │ │ ├── BambooPlanInfoTests.cs │ │ │ │ └── BambooRepositoryInfoTests.cs │ │ ├── BitbucketPipelines │ │ │ └── Data │ │ │ │ ├── BitbucketPipelinesPullRequestInfoTests.cs │ │ │ │ └── BitbucketPipelinesRepositoryInfoTests.cs │ │ ├── Bitrise │ │ │ └── Data │ │ │ │ ├── BitriseApplicationInfoTests.cs │ │ │ │ ├── BitriseBuildInfoTests.cs │ │ │ │ ├── BitriseDirectoryInfoTests.cs │ │ │ │ ├── BitriseProvisioningInfo.cs │ │ │ │ ├── BitrisePullRequestInfoTests.cs │ │ │ │ ├── BitriseRepositoryInfoTests.cs │ │ │ │ └── BitriseWorkflowInfoTests.cs │ │ ├── BuildSystemAliasesTests.cs │ │ ├── BuildSystemTests.cs │ │ ├── ContinuaCI │ │ │ ├── ContinuaCIProviderTests.cs │ │ │ └── Data │ │ │ │ ├── ContinuaCIBuildInfoTests.cs │ │ │ │ ├── ContinuaCIChangesetInfoTests.cs │ │ │ │ ├── ContinuaCIConfigurationInfoTests.cs │ │ │ │ ├── ContinuaCIEnvironmentInfoTests.cs │ │ │ │ └── ContinuaCIProjectInfoTests.cs │ │ ├── GitHubActions │ │ │ ├── Commands │ │ │ │ └── GitHubActionsCommandsTests.cs │ │ │ ├── Data │ │ │ │ ├── GitHubActionsEnvironmentInfoTests.cs │ │ │ │ ├── GitHubActionsPullRequestInfoTests.cs │ │ │ │ ├── GitHubActionsRunnerInfoTests.cs │ │ │ │ ├── GitHubActionsRuntimeInfoTests.cs │ │ │ │ └── GitHubActionsWorkflowInfoTests.cs │ │ │ └── GitHubActionsProviderTests.cs │ │ ├── GitLabCI │ │ │ ├── Data │ │ │ │ ├── GitLabCIBuildInfoTests.cs │ │ │ │ ├── GitLabCIProjectInfoTests.cs │ │ │ │ ├── GitLabCIPullRequestInfoTests.cs │ │ │ │ ├── GitLabCIRunnerInfoTests.cs │ │ │ │ └── GitLabCIServerInfoTests.cs │ │ │ ├── GitLabCICommandsTests.cs │ │ │ └── GitLabCIProviderTests.cs │ │ ├── GoCD │ │ │ ├── Data │ │ │ │ ├── GoCDEnvironmentInfoTests.cs │ │ │ │ ├── GoCDPipelineInfoTests.cs │ │ │ │ ├── GoCDRepositoryInfoTests.cs │ │ │ │ └── GoCDStageInfoTests.cs │ │ │ └── GoCDProviderTests.cs │ │ ├── Jenkins │ │ │ ├── Data │ │ │ │ ├── JenkinsBuildInfoTests.cs │ │ │ │ ├── JenkinsChangeInfoTests.cs │ │ │ │ ├── JenkinsJobInfoTests.cs │ │ │ │ ├── JenkinsNodeInfoTests.cs │ │ │ │ └── JenkinsRepositoryInfoTests.cs │ │ │ ├── JenkinsEnvironmentInfoTests.cs │ │ │ └── JenkinsProviderTests.cs │ │ ├── MyGet │ │ │ └── MyGetProviderTests.cs │ │ ├── TeamCity │ │ │ ├── Data │ │ │ │ ├── TeamCityBuildInfoTests.cs │ │ │ │ ├── TeamCityEnvironmentInfoTests.cs │ │ │ │ ├── TeamCityProjectInfoTests.cs │ │ │ │ └── TeamCityPullRequestInfoTests.cs │ │ │ └── TeamCityProviderTests.cs │ │ └── TravisCI │ │ │ ├── Data │ │ │ ├── TravisBuildInfoTests.cs │ │ │ ├── TravisJobInfoTests.cs │ │ │ ├── TravisPullRequestInfoTests.cs │ │ │ └── TravisRepositoryInfoTests.cs │ │ │ ├── TravisCIEnvironmentInfoTests.cs │ │ │ └── TravisCIProviderTests.cs │ │ ├── Diagnostics │ │ └── LoggingAliasesTests.cs │ │ ├── EnvironmentAliasesTests.cs │ │ ├── IO │ │ ├── DirectoryAliasesTests.cs │ │ ├── FileAliasesTests.cs │ │ ├── FileCopierTests.cs │ │ ├── Paths │ │ │ ├── ConvertableDirectoryPathTests.cs │ │ │ └── ConvertableFilePathTests.cs │ │ └── ZipperTests.cs │ │ ├── ProcessAliasesTests.cs │ │ ├── ReleaseNotesAliasesTests.cs │ │ ├── ReleaseNotesParserTests.cs │ │ ├── ReleaseNotesTests.cs │ │ ├── Security │ │ ├── DirectoryHashCalculatorTests.cs │ │ ├── FileHashCalculatorTests.cs │ │ └── HashAlgorithmBuilderTests.cs │ │ ├── SemVerTests.cs │ │ ├── Solution │ │ ├── Project │ │ │ ├── ProjectParserTests.cs │ │ │ ├── Properties │ │ │ │ ├── AssemblyInfoCreatorTests.cs │ │ │ │ ├── AssemblyInfoCreatorTests_VB.cs │ │ │ │ ├── AssemblyInfoExtensionTests.cs │ │ │ │ ├── AssemblyInfoExtensionTests_VB.cs │ │ │ │ └── AssemblyInfoParserTests.cs │ │ │ └── XmlDoc │ │ │ │ └── XmlDocExampleCodeParserTests.cs │ │ ├── SolutionParserAliasesTests.cs │ │ └── SolutionParserTests.cs │ │ ├── Text │ │ ├── TextTransformationAliasesTests.cs │ │ ├── TextTransformationExtensionsTests.cs │ │ └── TextTransformationTests.cs │ │ ├── Tools │ │ ├── Cake │ │ │ └── CakeRunnerTests.cs │ │ ├── Chocolatey │ │ │ ├── ApiKey │ │ │ │ └── ChocolateyApiKeySetterTests.cs │ │ │ ├── Config │ │ │ │ └── ChocolateyConfigSetterTests.cs │ │ │ ├── Download │ │ │ │ └── ChocolateyDownloadTests.cs │ │ │ ├── Export │ │ │ │ └── ChocolateyExporterTests.cs │ │ │ ├── Features │ │ │ │ └── ChocolateyFeatureTogglerTests.cs │ │ │ ├── Install │ │ │ │ ├── ChocolateyInstallerSettingsTests.cs │ │ │ │ └── ChocolateyInstallerTests.cs │ │ │ ├── New │ │ │ │ └── ChocolateyNewTests.cs │ │ │ ├── Pack │ │ │ │ └── ChocolateyPackerTests.cs │ │ │ ├── Pin │ │ │ │ └── ChocolateyPinnerTests.cs │ │ │ ├── Push │ │ │ │ └── ChocolateyPusherTests.cs │ │ │ ├── Sources │ │ │ │ └── ChocolateySourcesTests.cs │ │ │ ├── Uninstall │ │ │ │ ├── ChocolateyUninstallerSettingsTests.cs │ │ │ │ └── ChocolateyUninstallerTests.cs │ │ │ └── Upgrade │ │ │ │ ├── ChocolateyUpgradeSettingsTests.cs │ │ │ │ └── ChocolateyUpgraderTests.cs │ │ ├── Command │ │ │ └── CommandRunnerTests.cs │ │ ├── DotCover │ │ │ ├── Analyse │ │ │ │ ├── DotCoverAnalyseSettingsTests.cs │ │ │ │ └── DotCoverAnalyserTests.cs │ │ │ ├── Cover │ │ │ │ └── DotCoverCovererTests.cs │ │ │ ├── Merge │ │ │ │ └── DotCoverMergerTests.cs │ │ │ └── Report │ │ │ │ └── DotCoverReporterTests.cs │ │ ├── DotNet │ │ │ ├── Build │ │ │ │ └── DotNetBuilderTests.cs │ │ │ ├── BuildServer │ │ │ │ └── DotNetBuildServerTests.cs │ │ │ ├── Clean │ │ │ │ └── DotNetCleanTests.cs │ │ │ ├── Execute │ │ │ │ └── DotNetExecutorTests.cs │ │ │ ├── Format │ │ │ │ └── DotNetFormatTests.cs │ │ │ ├── MSBuild │ │ │ │ ├── DotNetMSBuildBuilderTests.cs │ │ │ │ ├── DotNetMSBuildSettingsExtensionsTests.cs │ │ │ │ └── DotNetMSBuildSettingsTests.cs │ │ │ ├── NuGet │ │ │ │ ├── Delete │ │ │ │ │ └── DotNetNuGetDeleterTests.cs │ │ │ │ ├── Push │ │ │ │ │ └── DotNetNuGetPusherTests.cs │ │ │ │ └── Source │ │ │ │ │ └── DotNetNuGetSourcerTests.cs │ │ │ ├── Pack │ │ │ │ └── DotNetPackerTests.cs │ │ │ ├── Package │ │ │ │ ├── Add │ │ │ │ │ └── DotNetPackageAdderTests.cs │ │ │ │ ├── List │ │ │ │ │ └── DotNetPackageListerTests.cs │ │ │ │ ├── Remove │ │ │ │ │ └── DotNetPackageRemoverTests.cs │ │ │ │ └── Search │ │ │ │ │ ├── DotNetPackageSearchSettingsTests.cs │ │ │ │ │ └── DotNetPackageSearcherTests.cs │ │ │ ├── Publish │ │ │ │ └── DotNetPublisherTests.cs │ │ │ ├── Reference │ │ │ │ ├── Add │ │ │ │ │ └── DotNetReferenceAdderTests.cs │ │ │ │ ├── List │ │ │ │ │ └── DotNetReferenceListerTests.cs │ │ │ │ └── Remove │ │ │ │ │ └── DotNetReferenceRemoverTests.cs │ │ │ ├── Restore │ │ │ │ └── DotNetRestorerTests.cs │ │ │ ├── Run │ │ │ │ └── DotNetRunnerTests.cs │ │ │ ├── SDKCheck │ │ │ │ └── DotNetSDKCheckTests.cs │ │ │ ├── Sln │ │ │ │ ├── Add │ │ │ │ │ └── DotNetSlnAdderTests.cs │ │ │ │ ├── List │ │ │ │ │ └── DotNetSlnListerTests.cs │ │ │ │ └── Remove │ │ │ │ │ └── DotNetSlnRemoverTests.cs │ │ │ ├── Test │ │ │ │ └── DotNetTesterTests.cs │ │ │ ├── Tool │ │ │ │ └── DotNetToolTests.cs │ │ │ ├── VSTest │ │ │ │ └── DotNetVSTesterTests.cs │ │ │ └── Workload │ │ │ │ ├── Install │ │ │ │ └── DotNetWorkloadInstallTests.cs │ │ │ │ ├── List │ │ │ │ └── DotNetWorkloadListTests.cs │ │ │ │ ├── Repair │ │ │ │ └── DotNetWorkloadRepairTests.cs │ │ │ │ ├── Restore │ │ │ │ └── DotNetWorkloadRestoreTests.cs │ │ │ │ ├── Search │ │ │ │ └── DotNetWorkloadSearchTests.cs │ │ │ │ ├── Uninstall │ │ │ │ └── DotNetWorkloadUninstallTests.cs │ │ │ │ └── Update │ │ │ │ └── DotNetWorkloadUpdateTests.cs │ │ ├── DupFinder │ │ │ └── DupFinderRunnerTests.cs │ │ ├── Fixie │ │ │ └── FixieRunnerTests.cs │ │ ├── GitLink │ │ │ ├── Gitlink3RunnerTests.cs │ │ │ └── GitlinkRunnerTests.cs │ │ ├── GitReleaseManager │ │ │ ├── AddAssets │ │ │ │ └── GitReleaseManagerAssetsAdderTests.cs │ │ │ ├── Close │ │ │ │ └── GitReleaseManagerMilestoneCloserTests.cs │ │ │ ├── Create │ │ │ │ └── GitReleaseManagerCreatorTests.cs │ │ │ ├── Discard │ │ │ │ └── GitReleaseManagerDiscarderTests.cs │ │ │ ├── Export │ │ │ │ └── GitReleaseManagerExporterTests.cs │ │ │ ├── Label │ │ │ │ └── GitReleaseManagerLabellerTests.cs │ │ │ ├── Open │ │ │ │ └── GitReleaseManagerMilestoneOpenerTests.cs │ │ │ └── Publish │ │ │ │ └── GitReleaseManagerPublisherTests.cs │ │ ├── GitReleaseNotes │ │ │ └── GitReleaseNotesRunnerTests.cs │ │ ├── GitVersion │ │ │ └── GitVersionRunnerTests.cs │ │ ├── ILMerge │ │ │ ├── ILMergeRunnerTests.cs │ │ │ └── ILMergeSettingsTests.cs │ │ ├── ILRepack │ │ │ ├── ILRepackRunnerTests.cs │ │ │ └── ILRepackSettingsTests.cs │ │ ├── InnoSetup │ │ │ ├── InnoSetupAliasesTests.cs │ │ │ └── InnoSetupRunnerTests.cs │ │ ├── InspectCode │ │ │ └── InspectCodeRunnerTests.cs │ │ ├── MSBuild │ │ │ ├── MSBuildRunnerTests.cs │ │ │ ├── MSBuildSettingsExtensionsTests.cs │ │ │ ├── MSBuildSettingsTests.cs │ │ │ └── MSBuildVerbosityExtensionsTests.cs │ │ ├── MSTest │ │ │ └── MSTestRunnerTests.cs │ │ ├── MSpec │ │ │ └── MSpecRunnerTests.cs │ │ ├── NSIS │ │ │ ├── MakeNSISRunnerTests.cs │ │ │ └── NSISAliasesTests.cs │ │ ├── NUnit │ │ │ ├── NUnit3RunnerTests.cs │ │ │ ├── NUnit3SettingsTests.cs │ │ │ ├── NUnitInternalTraceLevelExtensionsTests.cs │ │ │ ├── NUnitRunnerTests.cs │ │ │ └── NUnitSettingsTests.cs │ │ ├── NuGet │ │ │ ├── Add │ │ │ │ ├── NuGetAddSettingsTests.cs │ │ │ │ └── NuGetAdderTests.cs │ │ │ ├── Delete │ │ │ │ └── NuGetDeleterTests.cs │ │ │ ├── Init │ │ │ │ ├── NuGetInitSettingsTests.cs │ │ │ │ └── NuGetIniterTests.cs │ │ │ ├── Install │ │ │ │ ├── NuGetInstallerSettingsTests.cs │ │ │ │ └── NuGetInstallerTests.cs │ │ │ ├── List │ │ │ │ ├── NuGetListSettingsTests.cs │ │ │ │ └── NuGetListTests.cs │ │ │ ├── Pack │ │ │ │ ├── NuGetPackSettingsTests.cs │ │ │ │ └── NuGetPackerTests.cs │ │ │ ├── Push │ │ │ │ └── NuGetPusherTests.cs │ │ │ ├── Restore │ │ │ │ ├── NuGetRestoreSettingsTests.cs │ │ │ │ └── NuGetRestorerTests.cs │ │ │ ├── SetApiKey │ │ │ │ └── NuGetSetApiKeyTests.cs │ │ │ ├── SetProxy │ │ │ │ └── NuGetSetProxyTests.cs │ │ │ ├── Sources │ │ │ │ ├── NuGetSourcesSettingsTests.cs │ │ │ │ └── NuGetSourcesTests.cs │ │ │ └── Update │ │ │ │ ├── NuGetUpdateSettingsTests.cs │ │ │ │ └── NuGetUpdaterTests.cs │ │ ├── OctopusDeploy │ │ │ ├── OctoCreateReleaseTests.cs │ │ │ ├── OctoDeployPromoteTests.cs │ │ │ ├── OctoDeployReleaseTests.cs │ │ │ ├── OctoPackTests.cs │ │ │ ├── OctoPushTests.cs │ │ │ └── OctopusDeploymentQueryTests.cs │ │ ├── OpenCover │ │ │ └── OpenCoverTests.cs │ │ ├── ReportGenerator │ │ │ └── ReportGeneratorRunnerTests.cs │ │ ├── ReportUnit │ │ │ └── ReportUnitRunnerTests.cs │ │ ├── Roundhouse │ │ │ └── RoundhouseRunnerTests.cs │ │ ├── SignTool │ │ │ ├── SignToolResolverTests.cs │ │ │ └── SignToolSignRunnerTests.cs │ │ ├── SpecFlow │ │ │ ├── StepDefinitionReport │ │ │ │ └── SpecFlowStepDefinitionReporterTests.cs │ │ │ └── TestExecutionReport │ │ │ │ └── SpecFlowTestExecutionReporterTests.cs │ │ ├── TextTransform │ │ │ ├── TextTemplateAliasTests.cs │ │ │ └── TextTransformRunnerTests.cs │ │ ├── VSTest │ │ │ └── VSTestRunnerTests.cs │ │ ├── VSWhere │ │ │ ├── All │ │ │ │ └── VSWhereAllTests.cs │ │ │ ├── Latest │ │ │ │ └── VSWhereLatestTests.cs │ │ │ ├── Legacy │ │ │ │ └── VSWhereLegacyTests.cs │ │ │ ├── Product │ │ │ │ └── VSWhereProductTests.cs │ │ │ ├── VSWhereAliasesTests.cs │ │ │ └── VSWhereToolTests.cs │ │ ├── WiX │ │ │ ├── CandleRunnerTests.cs │ │ │ ├── HeatRunnerTests.cs │ │ │ ├── LightRunnerTests.cs │ │ │ └── WiXAliasTests.cs │ │ ├── XBuild │ │ │ ├── XBuildSettingsExtensionsTests.cs │ │ │ └── XBuildSettingsTests.cs │ │ └── XUnit │ │ │ ├── XUnit2RunnerTests.cs │ │ │ ├── XUnit2SettingsTests.cs │ │ │ ├── XUnitRunnerTests.cs │ │ │ └── XUnitSettingsTests.cs │ │ └── XML │ │ ├── XmlPeekAliasesTests.cs │ │ ├── XmlPokeTests.cs │ │ └── XmlTransformationTests.cs ├── Cake.Common │ ├── ArgumentAliases.cs │ ├── Build │ │ ├── AppVeyor │ │ │ ├── AppVeyorInfo.cs │ │ │ ├── AppVeyorMessageCategoryType.cs │ │ │ ├── AppVeyorProvider.cs │ │ │ ├── AppVeyorProviderAddMessageExtensions.cs │ │ │ ├── AppVeyorTestResultsType.cs │ │ │ ├── AppVeyorUploadArtifactType.cs │ │ │ ├── AppVeyorUploadArtifactsSettings.cs │ │ │ ├── Data │ │ │ │ ├── AppVeyorBuildInfo.cs │ │ │ │ ├── AppVeyorCommitInfo.cs │ │ │ │ ├── AppVeyorEnvironmentInfo.cs │ │ │ │ ├── AppVeyorProjectInfo.cs │ │ │ │ ├── AppVeyorPullRequestInfo.cs │ │ │ │ ├── AppVeyorRepositoryInfo.cs │ │ │ │ └── AppVeyorTagInfo.cs │ │ │ └── IAppVeyorProvider.cs │ │ ├── AzurePipelines │ │ │ ├── AzurePipelinesCommands.cs │ │ │ ├── AzurePipelinesDisposableExtensions.cs │ │ │ ├── AzurePipelinesInfo.cs │ │ │ ├── AzurePipelinesProvider.cs │ │ │ ├── Data │ │ │ │ ├── AzurePipelinesAgentInfo.cs │ │ │ │ ├── AzurePipelinesArtifactType.cs │ │ │ │ ├── AzurePipelinesBuildInfo.cs │ │ │ │ ├── AzurePipelinesCodeCoverageToolType.cs │ │ │ │ ├── AzurePipelinesDefinitionInfo.cs │ │ │ │ ├── AzurePipelinesEnvironmentInfo.cs │ │ │ │ ├── AzurePipelinesMessageData.cs │ │ │ │ ├── AzurePipelinesPublishCodeCoverageData.cs │ │ │ │ ├── AzurePipelinesPublishTestResultsData.cs │ │ │ │ ├── AzurePipelinesPullRequestInfo.cs │ │ │ │ ├── AzurePipelinesRecordData.cs │ │ │ │ ├── AzurePipelinesRepositoryInfo.cs │ │ │ │ ├── AzurePipelinesRepositoryType.cs │ │ │ │ ├── AzurePipelinesTaskResult.cs │ │ │ │ ├── AzurePipelinesTaskStatus.cs │ │ │ │ ├── AzurePipelinesTeamProjectInfo.cs │ │ │ │ ├── AzurePipelinesTestRunnerType.cs │ │ │ │ └── AzurePipelinesTriggeredBy.cs │ │ │ ├── IAzurePipelinesCommands.cs │ │ │ └── IAzurePipelinesProvider.cs │ │ ├── Bamboo │ │ │ ├── BambooInfo.cs │ │ │ ├── BambooProvider.cs │ │ │ ├── Data │ │ │ │ ├── BambooBuildInfo.cs │ │ │ │ ├── BambooCommitInfo.cs │ │ │ │ ├── BambooCustomBuildInfo.cs │ │ │ │ ├── BambooEnvironmentInfo.cs │ │ │ │ ├── BambooPlanInfo.cs │ │ │ │ └── BambooRepositoryInfo.cs │ │ │ └── IBambooProvider.cs │ │ ├── BitbucketPipelines │ │ │ ├── BitbucketPipelinesInfo.cs │ │ │ ├── BitbucketPipelinesProvider.cs │ │ │ ├── Data │ │ │ │ ├── BitbucketPipelinesEnvironmentInfo.cs │ │ │ │ ├── BitbucketPipelinesPullRequestInfo.cs │ │ │ │ └── BitbucketPipelinesRepositoryInfo.cs │ │ │ └── IBitbucketPipelinesProvider.cs │ │ ├── Bitrise │ │ │ ├── BitriseInfo.cs │ │ │ ├── BitriseProvider.cs │ │ │ ├── Data │ │ │ │ ├── BitriseApplicationInfo.cs │ │ │ │ ├── BitriseBuildInfo.cs │ │ │ │ ├── BitriseDirectoryInfo.cs │ │ │ │ ├── BitriseEnvironmentInfo.cs │ │ │ │ ├── BitriseProvisioningInfo.cs │ │ │ │ ├── BitrisePullRequestInfo.cs │ │ │ │ ├── BitriseRepositoryInfo.cs │ │ │ │ └── BitriseWorkflowInfo.cs │ │ │ └── IBitriseProvider.cs │ │ ├── BuildProvider.cs │ │ ├── BuildSystem.cs │ │ ├── BuildSystemAliases.cs │ │ ├── ContinuaCI │ │ │ ├── ContinuaCIInfo.cs │ │ │ ├── ContinuaCIMessageType.cs │ │ │ ├── ContinuaCIProvider.cs │ │ │ ├── Data │ │ │ │ ├── ContinuaCIBuildInfo.cs │ │ │ │ ├── ContinuaCIChangesetInfo.cs │ │ │ │ ├── ContinuaCIConfigurationInfo.cs │ │ │ │ ├── ContinuaCIEnvironmentInfo.cs │ │ │ │ └── ContinuaCIProjectInfo.cs │ │ │ └── IContinuaCIProvider.cs │ │ ├── GitHubActions │ │ │ ├── Commands │ │ │ │ ├── Artifact │ │ │ │ │ ├── CreateArtifactRequest.cs │ │ │ │ │ ├── CreateArtifactResponse.cs │ │ │ │ │ ├── FinalizeArtifactRequest.cs │ │ │ │ │ ├── FinalizeArtifactResponse.cs │ │ │ │ │ ├── GetSignedArtifactURLRequest.cs │ │ │ │ │ ├── GetSignedArtifactURLResponse.cs │ │ │ │ │ ├── GitHubActionsArtifactService.cs │ │ │ │ │ ├── ListArtifactsRequest.cs │ │ │ │ │ └── ListArtifactsResponse.cs │ │ │ │ └── GitHubActionsCommands.cs │ │ │ ├── Data │ │ │ │ ├── GitHubActionsAnnotation.cs │ │ │ │ ├── GitHubActionsArchitecture.cs │ │ │ │ ├── GitHubActionsEnvironmentInfo.cs │ │ │ │ ├── GitHubActionsPullRequestInfo.cs │ │ │ │ ├── GitHubActionsRefType.cs │ │ │ │ ├── GitHubActionsRunnerInfo.cs │ │ │ │ ├── GitHubActionsRuntimeInfo.cs │ │ │ │ └── GitHubActionsWorkflowInfo.cs │ │ │ ├── GitHubActionsInfo.cs │ │ │ ├── GitHubActionsProvider.cs │ │ │ └── IGitHubActionsProvider.cs │ │ ├── GitLabCI │ │ │ ├── Data │ │ │ │ ├── GitLabCIBuildInfo.cs │ │ │ │ ├── GitLabCIEnvironmentInfo.cs │ │ │ │ ├── GitLabCIPipelineSource.cs │ │ │ │ ├── GitLabCIProjectInfo.cs │ │ │ │ ├── GitLabCIPullRequestInfo.cs │ │ │ │ ├── GitLabCIRunnerInfo.cs │ │ │ │ └── GitLabCIServerInfo.cs │ │ │ ├── GitLabCICommands.cs │ │ │ ├── GitLabCIInfo.cs │ │ │ ├── GitLabCIProvider.cs │ │ │ └── IGitLabCIProvider.cs │ │ ├── GoCD │ │ │ ├── Data │ │ │ │ ├── GoCDBuildCauseInfo.cs │ │ │ │ ├── GoCDEnvironmentInfo.cs │ │ │ │ ├── GoCDHistoryInfo.cs │ │ │ │ ├── GoCDMaterialRevisionsInfo.cs │ │ │ │ ├── GoCDModificationInfo.cs │ │ │ │ ├── GoCDPipelineHistoryInfo.cs │ │ │ │ ├── GoCDPipelineInfo.cs │ │ │ │ ├── GoCDRepositoryInfo.cs │ │ │ │ └── GoCDStageInfo.cs │ │ │ ├── GoCDInfo.cs │ │ │ ├── GoCDProvider.cs │ │ │ └── IGoCDProvider.cs │ │ ├── IBuildSystemServiceMessageWriter.cs │ │ ├── Jenkins │ │ │ ├── Data │ │ │ │ ├── JenkinsBuildInfo.cs │ │ │ │ ├── JenkinsChangeInfo.cs │ │ │ │ ├── JenkinsEnvironmentInfo.cs │ │ │ │ ├── JenkinsJobInfo.cs │ │ │ │ ├── JenkinsNodeInfo.cs │ │ │ │ └── JenkinsRepositoryInfo.cs │ │ │ ├── IJenkinsProvider.cs │ │ │ ├── JenkinsInfo.cs │ │ │ └── JenkinsProvider.cs │ │ ├── MyGet │ │ │ ├── IMyGetProvider.cs │ │ │ ├── MyGetBuildStatus.cs │ │ │ └── MyGetProvider.cs │ │ ├── TeamCity │ │ │ ├── Data │ │ │ │ ├── TeamCityBuildInfo.cs │ │ │ │ ├── TeamCityEnvironmentInfo.cs │ │ │ │ ├── TeamCityProjectInfo.cs │ │ │ │ └── TeamCityPullRequestInfo.cs │ │ │ ├── ITeamCityProvider.cs │ │ │ ├── TeamCityDisposableExtensions.cs │ │ │ ├── TeamCityInfo.cs │ │ │ └── TeamCityProvider.cs │ │ └── TravisCI │ │ │ ├── Data │ │ │ ├── TravisCIBuildInfo.cs │ │ │ ├── TravisCIEnvironmentInfo.cs │ │ │ ├── TravisCIJobInfo.cs │ │ │ ├── TravisCIPullRequestInfo.cs │ │ │ └── TravisCIRepositoryInfo.cs │ │ │ ├── ITravisCIProvider.cs │ │ │ ├── TravisCIDisposableExtensions.cs │ │ │ ├── TravisCIInfo.cs │ │ │ └── TravisCIProvider.cs │ ├── Cake.Common.csproj │ ├── Diagnostics │ │ ├── LoggingAliases.cs │ │ ├── ScriptCallerAliases.cs │ │ └── ScriptCallerInfo.cs │ ├── DryRunAliases.cs │ ├── EnviromentAliases.cs │ ├── IO │ │ ├── CleanDirectorySettings.cs │ │ ├── DeleteDirectorySettings.cs │ │ ├── DirectoryAliases.cs │ │ ├── DirectoryCleaner.cs │ │ ├── DirectoryCreator.cs │ │ ├── DirectoryDeleter.cs │ │ ├── DirectoryMover.cs │ │ ├── EnsureDirectoryDoesNotExistSettings.cs │ │ ├── FileAliases.cs │ │ ├── FileCopier.cs │ │ ├── FileDeleter.cs │ │ ├── FileMover.cs │ │ ├── GlobbingAliases.cs │ │ ├── Paths │ │ │ ├── ConvertableDirectoryPath.cs │ │ │ └── ConvertableFilePath.cs │ │ ├── ZipAliases.cs │ │ └── Zipper.cs │ ├── Modules │ │ └── CommonModule.cs │ ├── Net │ │ ├── DownloadFileSettings.cs │ │ ├── HttpAliases.cs │ │ ├── HttpClientExtensions.cs │ │ └── UploadFileSettings.cs │ ├── Polyfill │ │ ├── XmlTransformationHelper.cs │ │ └── XmlWriterSettingsHelper.cs │ ├── ProcessAliases.cs │ ├── Properties │ │ ├── AssemblyInfo.cs │ │ └── Namespaces.cs │ ├── ReleaseNotes.cs │ ├── ReleaseNotesAliases.cs │ ├── ReleaseNotesParser.cs │ ├── Security │ │ ├── DirectoryHash.cs │ │ ├── DirectoryHashCalculator.cs │ │ ├── FileHash.cs │ │ ├── FileHashCalculator.cs │ │ ├── HashAlgorithm.cs │ │ ├── HashAlgorithmBuilder.cs │ │ ├── IHashAlgorithmBuilder.cs │ │ └── SecurityAliases.cs │ ├── SemanticVersion.cs │ ├── Solution │ │ ├── Project │ │ │ ├── ProjectAliases.cs │ │ │ ├── ProjectAssemblyReference.cs │ │ │ ├── ProjectFile.cs │ │ │ ├── ProjectParser.cs │ │ │ ├── ProjectParserResult.cs │ │ │ ├── ProjectReference.cs │ │ │ ├── ProjectXElement.cs │ │ │ ├── Properties │ │ │ │ ├── AssemblyInfoAliases.cs │ │ │ │ ├── AssemblyInfoCreator.cs │ │ │ │ ├── AssemblyInfoCreatorData.cs │ │ │ │ ├── AssemblyInfoCustomAttribute.cs │ │ │ │ ├── AssemblyInfoMetadataAttribute.cs │ │ │ │ ├── AssemblyInfoParseResult.cs │ │ │ │ ├── AssemblyInfoParser.cs │ │ │ │ ├── AssemblyInfoSettings.cs │ │ │ │ └── AssemblyInfoSettingsExtensions.cs │ │ │ └── XmlDoc │ │ │ │ ├── XmlDocAliases.cs │ │ │ │ ├── XmlDocExampleCode.cs │ │ │ │ └── XmlDocExampleCodeParser.cs │ │ ├── SolutionAliases.cs │ │ ├── SolutionFolder.cs │ │ ├── SolutionParser.cs │ │ ├── SolutionParserResult.cs │ │ └── SolutionProject.cs │ ├── Text │ │ ├── TextTransformation.cs │ │ ├── TextTransformationAliases.cs │ │ └── TextTransformationExtensions.cs │ ├── Tools │ │ ├── Cake │ │ │ ├── CakeAliases.cs │ │ │ ├── CakeRunner.cs │ │ │ └── CakeSettings.cs │ │ ├── Chocolatey │ │ │ ├── ApiKey │ │ │ │ ├── ChocolateyApiKeySetter.cs │ │ │ │ └── ChocolateyApiKeySettings.cs │ │ │ ├── ChocolateyAliases.cs │ │ │ ├── ChocolateySettings.cs │ │ │ ├── ChocolateySharedSettings.cs │ │ │ ├── ChocolateyTool.cs │ │ │ ├── ChocolateyToolResolver.cs │ │ │ ├── Config │ │ │ │ ├── ChocolateyConfigSetter.cs │ │ │ │ └── ChocolateyConfigSettings.cs │ │ │ ├── Download │ │ │ │ ├── ChocolateyDownloadSettings.cs │ │ │ │ └── ChocolateyDownloader.cs │ │ │ ├── Export │ │ │ │ ├── ChocolateyExporter.cs │ │ │ │ └── ChocolateyExporterSettings.cs │ │ │ ├── Features │ │ │ │ ├── ChocolateyFeatureSettings.cs │ │ │ │ └── ChocolateyFeatureToggler.cs │ │ │ ├── IChocolateyToolResolver.cs │ │ │ ├── Install │ │ │ │ ├── ChocolateyInstallSettings.cs │ │ │ │ └── ChocolateyInstaller.cs │ │ │ ├── New │ │ │ │ ├── ChocolateyNewSettings.cs │ │ │ │ └── ChocolateyScaffolder.cs │ │ │ ├── Pack │ │ │ │ ├── ChocolateyNuSpecContent.cs │ │ │ │ ├── ChocolateyNuSpecDependency.cs │ │ │ │ ├── ChocolateyNuSpecProcessor.cs │ │ │ │ ├── ChocolateyNuSpecTransformer.cs │ │ │ │ ├── ChocolateyPackSettings.cs │ │ │ │ └── ChocolateyPacker.cs │ │ │ ├── Pin │ │ │ │ ├── ChocolateyPinSettings.cs │ │ │ │ └── ChocolateyPinner.cs │ │ │ ├── Push │ │ │ │ ├── ChocolateyPushSettings.cs │ │ │ │ └── ChocolateyPusher.cs │ │ │ ├── Sources │ │ │ │ ├── ChocolateySources.cs │ │ │ │ └── ChocolateySourcesSettings.cs │ │ │ ├── Uninstall │ │ │ │ ├── ChocolateyUninstallSettings.cs │ │ │ │ └── ChocolateyUninstaller.cs │ │ │ └── Upgrade │ │ │ │ ├── ChocolateyUpgradeSettings.cs │ │ │ │ └── ChocolateyUpgrader.cs │ │ ├── Command │ │ │ ├── CommandAliases.cs │ │ │ ├── CommandRunner.cs │ │ │ ├── CommandSettings.cs │ │ │ └── CommandSettingsExtensions.cs │ │ ├── DotCover │ │ │ ├── Analyse │ │ │ │ ├── DotCoverAnalyseSettings.cs │ │ │ │ └── DotCoverAnalyser.cs │ │ │ ├── Cover │ │ │ │ ├── DotCoverCoverSettings.cs │ │ │ │ └── DotCoverCoverer.cs │ │ │ ├── DotCoverAliases.cs │ │ │ ├── DotCoverContext.cs │ │ │ ├── DotCoverCoverageSettings.cs │ │ │ ├── DotCoverCoverageSettingsExtensions.cs │ │ │ ├── DotCoverCoverageTool.cs │ │ │ ├── DotCoverProcessRunner.cs │ │ │ ├── DotCoverReportType.cs │ │ │ ├── DotCoverSettings.cs │ │ │ ├── DotCoverSettingsExtensions.cs │ │ │ ├── DotCoverTool.cs │ │ │ ├── Merge │ │ │ │ ├── DotCoverMergeSettings.cs │ │ │ │ └── DotCoverMerger.cs │ │ │ └── Report │ │ │ │ ├── DotCoverReportSettings.cs │ │ │ │ └── DotCoverReporter.cs │ │ ├── DotNet │ │ │ ├── Build │ │ │ │ ├── DotNetBuildSettings.cs │ │ │ │ └── DotNetBuilder.cs │ │ │ ├── BuildServer │ │ │ │ ├── DotNetBuildServer.cs │ │ │ │ ├── DotNetBuildServerSettings.cs │ │ │ │ └── DotNetBuildServerShutdownSettings.cs │ │ │ ├── Clean │ │ │ │ ├── DotNetCleanSettings.cs │ │ │ │ └── DotNetCleaner.cs │ │ │ ├── DotNetAliases.Build.cs │ │ │ ├── DotNetAliases.BuildServer.cs │ │ │ ├── DotNetAliases.Clean.cs │ │ │ ├── DotNetAliases.Execute.cs │ │ │ ├── DotNetAliases.Format.cs │ │ │ ├── DotNetAliases.MSBuild.cs │ │ │ ├── DotNetAliases.NuGet.cs │ │ │ ├── DotNetAliases.Pack.cs │ │ │ ├── DotNetAliases.Package.cs │ │ │ ├── DotNetAliases.Publish.cs │ │ │ ├── DotNetAliases.Reference.cs │ │ │ ├── DotNetAliases.Restore.cs │ │ │ ├── DotNetAliases.Run.cs │ │ │ ├── DotNetAliases.SDK.cs │ │ │ ├── DotNetAliases.Sln.cs │ │ │ ├── DotNetAliases.Test.cs │ │ │ ├── DotNetAliases.Tool.cs │ │ │ ├── DotNetAliases.Workload.cs │ │ │ ├── DotNetAliases.cs │ │ │ ├── DotNetRollForward.cs │ │ │ ├── DotNetSettings.cs │ │ │ ├── DotNetTool.cs │ │ │ ├── DotNetVerbosity.cs │ │ │ ├── Execute │ │ │ │ ├── DotNetExecuteSettings.cs │ │ │ │ └── DotNetExecutor.cs │ │ │ ├── Format │ │ │ │ ├── DotNetFormatSettings.cs │ │ │ │ ├── DotNetFormatSeverity.cs │ │ │ │ └── DotNetFormatter.cs │ │ │ ├── MSBuild │ │ │ │ ├── DotNetMSBuildBuilder.cs │ │ │ │ ├── DotNetMSBuildSettings.cs │ │ │ │ ├── DotNetMSBuildSettingsExtensions.cs │ │ │ │ ├── MSBuildArgumentBuilderExtensions.cs │ │ │ │ ├── MSBuildBinaryLoggerImports.cs │ │ │ │ ├── MSBuildBinaryLoggerSettings.cs │ │ │ │ ├── MSBuildConsoleColorType.cs │ │ │ │ ├── MSBuildDistributedLogger.cs │ │ │ │ ├── MSBuildFileLoggerSettings.cs │ │ │ │ ├── MSBuildLoggerOutputLevel.cs │ │ │ │ ├── MSBuildLoggerSettings.cs │ │ │ │ └── MSBuildTreatAllWarningsAs.cs │ │ │ ├── NuGet │ │ │ │ ├── Delete │ │ │ │ │ ├── DotNetNuGetDeleteSettings.cs │ │ │ │ │ └── DotNetNuGetDeleter.cs │ │ │ │ ├── Push │ │ │ │ │ ├── DotNetNuGetPushSettings.cs │ │ │ │ │ └── DotNetNuGetPusher.cs │ │ │ │ └── Source │ │ │ │ │ ├── DotNetNuGetAddSourceSettings.cs │ │ │ │ │ ├── DotNetNuGetDisableSourceSettings.cs │ │ │ │ │ ├── DotNetNuGetEnableSourceSettings.cs │ │ │ │ │ ├── DotNetNuGetHasSourceSettings.cs │ │ │ │ │ ├── DotNetNuGetListSourceSettings.cs │ │ │ │ │ ├── DotNetNuGetRemoveSourceSettings.cs │ │ │ │ │ ├── DotNetNuGetSourceSettings.cs │ │ │ │ │ ├── DotNetNuGetSourcer.cs │ │ │ │ │ └── DotNetNuGetUpdateSourceSettings.cs │ │ │ ├── Pack │ │ │ │ ├── DotNetPackSettings.cs │ │ │ │ └── DotNetPacker.cs │ │ │ ├── Package │ │ │ │ ├── Add │ │ │ │ │ ├── DotNetPackageAddSettings.cs │ │ │ │ │ └── DotNetPackageAdder.cs │ │ │ │ ├── List │ │ │ │ │ ├── DotNetPackageList.cs │ │ │ │ │ ├── DotNetPackageListAlternativePackageItem.cs │ │ │ │ │ ├── DotNetPackageListFrameworkItem.cs │ │ │ │ │ ├── DotNetPackageListPackageItem.cs │ │ │ │ │ ├── DotNetPackageListProblemItem.cs │ │ │ │ │ ├── DotNetPackageListProblemType.cs │ │ │ │ │ ├── DotNetPackageListProjectItem.cs │ │ │ │ │ ├── DotNetPackageListSettings.cs │ │ │ │ │ ├── DotNetPackageListVulnerabilityItem.cs │ │ │ │ │ └── DotNetPackageLister.cs │ │ │ │ ├── Remove │ │ │ │ │ ├── DotNetPackageRemoveSettings.cs │ │ │ │ │ └── DotNetPackageRemover.cs │ │ │ │ └── Search │ │ │ │ │ ├── DotNetPackageSearchItem.cs │ │ │ │ │ ├── DotNetPackageSearchSettings.cs │ │ │ │ │ └── DotNetPackageSearcher.cs │ │ │ ├── Publish │ │ │ │ ├── DotNetPublishSettings.cs │ │ │ │ └── DotNetPublisher.cs │ │ │ ├── Reference │ │ │ │ ├── Add │ │ │ │ │ ├── DotNetReferenceAddSettings.cs │ │ │ │ │ └── DotNetReferenceAdder.cs │ │ │ │ ├── List │ │ │ │ │ ├── DotNetReferenceListSettings.cs │ │ │ │ │ └── DotNetReferenceLister.cs │ │ │ │ └── Remove │ │ │ │ │ ├── DotNetReferenceRemoveSettings.cs │ │ │ │ │ └── DotNetReferenceRemover.cs │ │ │ ├── Restore │ │ │ │ ├── DotNetRestoreSettings.cs │ │ │ │ └── DotNetRestorer.cs │ │ │ ├── Run │ │ │ │ ├── DotNetRunSettings.cs │ │ │ │ └── DotNetRunner.cs │ │ │ ├── SDKCheck │ │ │ │ ├── DotNetSDKCheckSettings.cs │ │ │ │ └── DotNetSDKChecker.cs │ │ │ ├── Sln │ │ │ │ ├── Add │ │ │ │ │ ├── DotNetSlnAddSettings.cs │ │ │ │ │ └── DotNetSlnAdder.cs │ │ │ │ ├── List │ │ │ │ │ ├── DotNetSlnListSettings.cs │ │ │ │ │ └── DotNetSlnLister.cs │ │ │ │ └── Remove │ │ │ │ │ ├── DotNetSlnRemoveSettings.cs │ │ │ │ │ └── DotNetSlnRemover.cs │ │ │ ├── Test │ │ │ │ ├── DotNetTestSettings.cs │ │ │ │ └── DotNetTester.cs │ │ │ ├── Tool │ │ │ │ ├── DotNetToolRunner.cs │ │ │ │ └── DotNetToolSettings.cs │ │ │ ├── VSTest │ │ │ │ ├── DotNetVSTestSettings.cs │ │ │ │ └── DotNetVSTester.cs │ │ │ └── Workload │ │ │ │ ├── Install │ │ │ │ ├── DotNetWorkloadInstallSettings.cs │ │ │ │ └── DotNetWorkloadInstaller.cs │ │ │ │ ├── List │ │ │ │ ├── DotNetWorkloadListItem.cs │ │ │ │ ├── DotNetWorkloadListSettings.cs │ │ │ │ └── DotNetWorkloadLister.cs │ │ │ │ ├── Repair │ │ │ │ ├── DotNetWorkloadRepairSettings.cs │ │ │ │ └── DotNetWorkloadRepairer.cs │ │ │ │ ├── Restore │ │ │ │ ├── DotNetWorkloadRestoreSettings.cs │ │ │ │ └── DotNetWorkloadRestorer.cs │ │ │ │ ├── Search │ │ │ │ ├── DotNetWorkload.cs │ │ │ │ ├── DotNetWorkloadSearchSettings.cs │ │ │ │ └── DotNetWorkloadSearcher.cs │ │ │ │ ├── Uninstall │ │ │ │ ├── DotNetWorkloadUninstallSettings.cs │ │ │ │ └── DotNetWorkloadUninstaller.cs │ │ │ │ └── Update │ │ │ │ ├── DotNetWorkloadUpdateSettings.cs │ │ │ │ └── DotNetWorkloadUpdater.cs │ │ ├── DupFinder │ │ │ ├── DupFinderAliases.cs │ │ │ ├── DupFinderRunner.cs │ │ │ └── DupFinderSettings.cs │ │ ├── Fixie │ │ │ ├── FixieAliases.cs │ │ │ ├── FixieRunner.cs │ │ │ ├── FixieSettings.cs │ │ │ └── FixieSettingsExtensions.cs │ │ ├── GitLink │ │ │ ├── GitLink3Aliases.cs │ │ │ ├── GitLink3Runner.cs │ │ │ ├── GitLink3Settings.cs │ │ │ ├── GitLinkAliases.cs │ │ │ ├── GitLinkRunner.cs │ │ │ └── GitLinkSettings.cs │ │ ├── GitReleaseManager │ │ │ ├── AddAssets │ │ │ │ ├── GitReleaseManagerAddAssetsSettings.cs │ │ │ │ └── GitReleaseManagerAssetsAdder.cs │ │ │ ├── Close │ │ │ │ ├── GitReleaseManagerCloseMilestoneSettings.cs │ │ │ │ └── GitReleaseManagerMilestoneCloser.cs │ │ │ ├── Create │ │ │ │ ├── GitReleaseManagerCreateSettings.cs │ │ │ │ └── GitReleaseManagerCreator.cs │ │ │ ├── Discard │ │ │ │ ├── GitReleaseManagerDiscardSettings.cs │ │ │ │ └── GitReleaseManagerDiscarder.cs │ │ │ ├── Export │ │ │ │ ├── GitReleaseManagerExportSettings.cs │ │ │ │ └── GitReleaseManagerExporter.cs │ │ │ ├── GitReleaseManagerAliases.cs │ │ │ ├── GitReleaseManagerSettings.cs │ │ │ ├── GitReleaseManagerTool.cs │ │ │ ├── Label │ │ │ │ ├── GitReleaseManagerLabelSettings.cs │ │ │ │ └── GitReleaseManagerLabeller.cs │ │ │ ├── Open │ │ │ │ ├── GitReleaseManagerMilestoneOpener.cs │ │ │ │ └── GitReleaseManagerOpenMilestoneSettings.cs │ │ │ └── Publish │ │ │ │ ├── GitReleaseManagerPublishSettings.cs │ │ │ │ └── GitReleaseManagerPublisher.cs │ │ ├── GitReleaseNotes │ │ │ ├── GitReleaseNotesAliases.cs │ │ │ ├── GitReleaseNotesIssueTracker.cs │ │ │ ├── GitReleaseNotesRunner.cs │ │ │ └── GitReleaseNotesSettings.cs │ │ ├── GitVersion │ │ │ ├── GitVersion.cs │ │ │ ├── GitVersionAliases.cs │ │ │ ├── GitVersionInternal.cs │ │ │ ├── GitVersionOutput.cs │ │ │ ├── GitVersionRunner.cs │ │ │ ├── GitVersionSettings.cs │ │ │ └── GitVersionVerbosity.cs │ │ ├── ILMerge │ │ │ ├── ILMergeAliases.cs │ │ │ ├── ILMergeRunner.cs │ │ │ ├── ILMergeSettings.cs │ │ │ ├── TargetKind.cs │ │ │ ├── TargetPlatform.cs │ │ │ └── TargetPlatformVersion.cs │ │ ├── ILRepack │ │ │ ├── ILRepackAliases.cs │ │ │ ├── ILRepackRunner.cs │ │ │ └── ILRepackSettings.cs │ │ ├── InnoSetup │ │ │ ├── InnoSetupAliases.cs │ │ │ ├── InnoSetupQuietMode.cs │ │ │ ├── InnoSetupRunner.cs │ │ │ ├── InnoSetupSettings.cs │ │ │ └── InnoSetupVersion.cs │ │ ├── InspectCode │ │ │ ├── InspectCodeAliases.cs │ │ │ ├── InspectCodeRunner.cs │ │ │ ├── InspectCodeSettings.cs │ │ │ ├── InspectCodeSeverity.cs │ │ │ ├── InspectCodeVerbosity.cs │ │ │ └── SettingsLayer.cs │ │ ├── MSBuild │ │ │ ├── MSBuildAliases.cs │ │ │ ├── MSBuildBinaryLogImports.cs │ │ │ ├── MSBuildBinaryLogSettings.cs │ │ │ ├── MSBuildFileLogger.cs │ │ │ ├── MSBuildFileLoggerOutput.cs │ │ │ ├── MSBuildLogger.cs │ │ │ ├── MSBuildPlatform.cs │ │ │ ├── MSBuildPropertyExtensions.cs │ │ │ ├── MSBuildResolver.cs │ │ │ ├── MSBuildRunner.cs │ │ │ ├── MSBuildSettings.cs │ │ │ ├── MSBuildSettingsExtensions.cs │ │ │ ├── MSBuildToolVersion.cs │ │ │ ├── MSBuildVerbosityExtensions.cs │ │ │ ├── MSBuildVersion.cs │ │ │ └── PlatformTarget.cs │ │ ├── MSTest │ │ │ ├── MSTestAliases.cs │ │ │ ├── MSTestRunner.cs │ │ │ └── MSTestSettings.cs │ │ ├── MSpec │ │ │ ├── MSpecAliases.cs │ │ │ ├── MSpecRunner.cs │ │ │ ├── MSpecRunnerUtilities.cs │ │ │ └── MspecSettings.cs │ │ ├── NSIS │ │ │ ├── MakeNSISRunner.cs │ │ │ ├── MakeNSISSettings.cs │ │ │ └── NSISAliases.cs │ │ ├── NUnit │ │ │ ├── NUnit3Aliases.cs │ │ │ ├── NUnit3AppDomainUsage.cs │ │ │ ├── NUnit3Labels.cs │ │ │ ├── NUnit3ProcessOption.cs │ │ │ ├── NUnit3Result.cs │ │ │ ├── NUnit3Runner.cs │ │ │ ├── NUnit3Settings.cs │ │ │ ├── NUnitAliases.cs │ │ │ ├── NUnitAppDomainUsage.cs │ │ │ ├── NUnitInternalTraceLevel.cs │ │ │ ├── NUnitInternalTraceLevelExtensions.cs │ │ │ ├── NUnitProcessOption.cs │ │ │ ├── NUnitRunner.cs │ │ │ └── NUnitSettings.cs │ │ ├── NuGet │ │ │ ├── Add │ │ │ │ ├── NuGetAddSettings.cs │ │ │ │ └── NuGetAdder.cs │ │ │ ├── Delete │ │ │ │ ├── NuGetDeleteSettings.cs │ │ │ │ └── NuGetDeleter.cs │ │ │ ├── Init │ │ │ │ ├── NuGetInitSettings.cs │ │ │ │ └── NuGetIniter.cs │ │ │ ├── Install │ │ │ │ ├── NuGetInstallSettings.cs │ │ │ │ └── NuGetInstaller.cs │ │ │ ├── List │ │ │ │ ├── NuGetList.cs │ │ │ │ ├── NuGetListItem.cs │ │ │ │ └── NuGetListSettings.cs │ │ │ ├── NuGetAliases.cs │ │ │ ├── NuGetMSBuildVersion.cs │ │ │ ├── NuGetMSBuildVersionExtensions.cs │ │ │ ├── NuGetTool.cs │ │ │ ├── NuGetVerbosity.cs │ │ │ ├── Pack │ │ │ │ ├── NuGetPackSettings.cs │ │ │ │ ├── NuGetPacker.cs │ │ │ │ ├── NuGetRepository.cs │ │ │ │ ├── NuSpecContent.cs │ │ │ │ ├── NuSpecContentFile.cs │ │ │ │ ├── NuSpecDependency.cs │ │ │ │ ├── NuSpecFrameworkAssembly.cs │ │ │ │ ├── NuSpecLicense.cs │ │ │ │ ├── NuSpecPackageType.cs │ │ │ │ ├── NuSpecReference.cs │ │ │ │ ├── NuspecProcessor.cs │ │ │ │ └── NuspecTransformer.cs │ │ │ ├── Push │ │ │ │ ├── NuGetPushSettings.cs │ │ │ │ └── NuGetPusher.cs │ │ │ ├── Restore │ │ │ │ ├── NuGetRestoreSettings.cs │ │ │ │ └── NuGetRestorer.cs │ │ │ ├── SetApiKey │ │ │ │ ├── NuGetSetApiKey.cs │ │ │ │ └── NuGetSetApiKeySettings.cs │ │ │ ├── SetProxy │ │ │ │ ├── NuGetSetProxy.cs │ │ │ │ └── NuGetSetProxySettings.cs │ │ │ ├── Sources │ │ │ │ ├── NuGetSources.cs │ │ │ │ └── NuGetSourcesSettings.cs │ │ │ └── Update │ │ │ │ ├── NuGetUpdateSettings.cs │ │ │ │ └── NuGetUpdater.cs │ │ ├── OctopusDeploy │ │ │ ├── CreateReleaseArgumentBuilder.cs │ │ │ ├── CreateReleaseSettings.cs │ │ │ ├── DeployReleaseArgumentBuilder.cs │ │ │ ├── DeploymentQueryResultParser.cs │ │ │ ├── OctopusDeployAliases.cs │ │ │ ├── OctopusDeployArgumentBuilder.cs │ │ │ ├── OctopusDeployDeploymentLister.cs │ │ │ ├── OctopusDeployPacker.cs │ │ │ ├── OctopusDeployPromoteReleaseSettings.cs │ │ │ ├── OctopusDeployPusher.cs │ │ │ ├── OctopusDeployReleaseCreator.cs │ │ │ ├── OctopusDeployReleaseDeployer.cs │ │ │ ├── OctopusDeployReleaseDeploymentSettings.cs │ │ │ ├── OctopusDeployReleasePromoter.cs │ │ │ ├── OctopusDeploySettings.cs │ │ │ ├── OctopusDeployTool.cs │ │ │ ├── OctopusDeployment.cs │ │ │ ├── OctopusDeploymentQueryArgumentBuilder.cs │ │ │ ├── OctopusDeploymentQuerySettings.cs │ │ │ ├── OctopusPackFormat.cs │ │ │ ├── OctopusPackSettings.cs │ │ │ ├── OctopusPushArgumentBuilder.cs │ │ │ ├── OctopusPushSettings.cs │ │ │ └── PromoteReleaseArgumentBuilder.cs │ │ ├── OpenCover │ │ │ ├── OpenCoverAliases.cs │ │ │ ├── OpenCoverContext.cs │ │ │ ├── OpenCoverHideSkippedOption.cs │ │ │ ├── OpenCoverHideSkippedOptionExtensions.cs │ │ │ ├── OpenCoverLogLevel.cs │ │ │ ├── OpenCoverProcessRunner.cs │ │ │ ├── OpenCoverRegisterOption.cs │ │ │ ├── OpenCoverRunner.cs │ │ │ ├── OpenCoverSettings.cs │ │ │ └── OpenCoverSettingsExtensions.cs │ │ ├── ReportGenerator │ │ │ ├── ReportGeneratorAliases.cs │ │ │ ├── ReportGeneratorReportType.cs │ │ │ ├── ReportGeneratorRunner.cs │ │ │ ├── ReportGeneratorSettings.cs │ │ │ └── ReportGeneratorVerbosity.cs │ │ ├── ReportUnit │ │ │ ├── ReportUnitAliases.cs │ │ │ ├── ReportUnitRunner.cs │ │ │ └── ReportUnitSettings.cs │ │ ├── Roundhouse │ │ │ ├── RecoveryMode.cs │ │ │ ├── RoundhouseAliases.cs │ │ │ ├── RoundhouseRunner.cs │ │ │ └── RoundhouseSettings.cs │ │ ├── SignTool │ │ │ ├── ISignToolResolver.cs │ │ │ ├── SignToolDigestAlgorithm.cs │ │ │ ├── SignToolResolver.cs │ │ │ ├── SignToolSignAliases.cs │ │ │ ├── SignToolSignRunner.cs │ │ │ └── SignToolSignSettings.cs │ │ ├── SpecFlow │ │ │ ├── SpecFlowAliases.cs │ │ │ ├── SpecFlowContext.cs │ │ │ ├── SpecFlowContextExtensions.cs │ │ │ ├── SpecFlowProcessRunner.cs │ │ │ ├── SpecFlowSettings.cs │ │ │ ├── SpecFlowTool.cs │ │ │ ├── StepDefinitionReport │ │ │ │ ├── SpecFlowStepDefinitionReportSettings.cs │ │ │ │ └── SpecFlowStepDefinitionReporter.cs │ │ │ └── TestExecutionReport │ │ │ │ ├── SpecFlowTestExecutionReportSettings.cs │ │ │ │ └── SpecFlowTestExecutionReporter.cs │ │ ├── TextTransform │ │ │ ├── TextTransformAliases.cs │ │ │ ├── TextTransformRunner.cs │ │ │ └── TextTransformSettings.cs │ │ ├── VSTest │ │ │ ├── VSTestAliases.cs │ │ │ ├── VSTestFrameworkVersion.cs │ │ │ ├── VSTestPlatform.cs │ │ │ ├── VSTestRunner.cs │ │ │ ├── VSTestSettings.cs │ │ │ └── VSTestSettingsExtensions.cs │ │ ├── VSWhere │ │ │ ├── All │ │ │ │ ├── VSWhereAll.cs │ │ │ │ └── VSWhereAllSettings.cs │ │ │ ├── Latest │ │ │ │ ├── VSWhereLatest.cs │ │ │ │ └── VSWhereLatestSettings.cs │ │ │ ├── Legacy │ │ │ │ ├── VSWhereLegacy.cs │ │ │ │ └── VSWhereLegacySettings.cs │ │ │ ├── Product │ │ │ │ ├── VSWhereProduct.cs │ │ │ │ └── VSWhereProductSettings.cs │ │ │ ├── VSWhereAliases.cs │ │ │ ├── VSWhereSettings.cs │ │ │ └── VSWhereTool.cs │ │ ├── VisualStudio.cs │ │ ├── WiX │ │ │ ├── Architecture.cs │ │ │ ├── CandleRunner.cs │ │ │ ├── CandleSettings.cs │ │ │ ├── Heat │ │ │ │ ├── HeatRunner.cs │ │ │ │ ├── HeatSettings.cs │ │ │ │ ├── WiXGenerateType.cs │ │ │ │ ├── WiXHarvestType.cs │ │ │ │ ├── WiXOutputGroupType.cs │ │ │ │ └── WiXTemplateType.cs │ │ │ ├── LightRunner.cs │ │ │ ├── LightSettings.cs │ │ │ └── WiXAliases.cs │ │ ├── XBuild │ │ │ ├── XBuildAliases.cs │ │ │ ├── XBuildResolver.cs │ │ │ ├── XBuildRunner.cs │ │ │ ├── XBuildSettings.cs │ │ │ ├── XBuildSettingsExtensions.cs │ │ │ ├── XBuildToolVersion.cs │ │ │ └── XBuildVersion.cs │ │ └── XUnit │ │ │ ├── ParallelismOption.cs │ │ │ ├── XUnit2Aliases.cs │ │ │ ├── XUnit2Runner.cs │ │ │ ├── XUnit2Settings.cs │ │ │ ├── XUnit2SettingsExtensions.cs │ │ │ ├── XUnitAliases.cs │ │ │ ├── XUnitRunner.cs │ │ │ ├── XUnitRunnerUtilities.cs │ │ │ └── XUnitSettings.cs │ └── Xml │ │ ├── XmlDtdProcessing.cs │ │ ├── XmlPeekAliases.cs │ │ ├── XmlPeekSettings.cs │ │ ├── XmlPokeAliases.cs │ │ ├── XmlPokeSettings.cs │ │ ├── XmlTransformation.cs │ │ ├── XmlTransformationAlias.cs │ │ └── XmlTransformationSettings.cs ├── Cake.Core.Tests │ ├── Cake.Core.Tests.csproj │ ├── Data │ │ ├── MethodAliasGeneratorData.cs │ │ └── PropertyAliasGeneratorData.cs │ ├── Expectations │ │ ├── MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Generic_Methods_name=Generic_ExtensionMethod.verified.cake │ │ ├── MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Generic_Methods_name=Generic_ExtensionMethodWithGenericReturnValue.verified.cake │ │ ├── MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Generic_Methods_name=Generic_ExtensionMethodWithGenericReturnValueAndTypeParamConstraints.verified.cake │ │ ├── MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Generic_Methods_name=Generic_ExtensionMethodWithParameter.verified.cake │ │ ├── MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithDynamicReturnValue.verified.cake │ │ ├── MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithGenericCollectionOfNestedType.verified.cake │ │ ├── MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithGenericExpressionArrayParameter.verified.cake │ │ ├── MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithGenericExpressionParameter.verified.cake │ │ ├── MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithGenericExpressionParamsArrayParameter.verified.cake │ │ ├── MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithGenericParameter.verified.cake │ │ ├── MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithNoParameters.verified.cake │ │ ├── MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithNullableParameter.verified.cake │ │ ├── MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithNullableReturnValue.verified.cake │ │ ├── MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithOptionalBooleanParameter.verified.cake │ │ ├── MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithOptionalCharParameter.verified.cake │ │ ├── MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithOptionalDecimalParameter.verified.cake │ │ ├── MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithOptionalEnumParameter.verified.cake │ │ ├── MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithOptionalNullableBooleanParameter.verified.cake │ │ ├── MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithOptionalNullableCharParameter.verified.cake │ │ ├── MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithOptionalNullableDecimalParameter.verified.cake │ │ ├── MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithOptionalNullableDoubleParameter.verified.cake │ │ ├── MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithOptionalNullableEnumParameter.verified.cake │ │ ├── MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithOptionalNullableLongParameter.verified.cake │ │ ├── MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithOptionalNullableTParameter.verified.cake │ │ ├── MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithOptionalObjectParameter.verified.cake │ │ ├── MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithOptionalStringParameter.verified.cake │ │ ├── MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithOutputParameter.verified.cake │ │ ├── MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithParameter.verified.cake │ │ ├── MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithParameterArray.verified.cake │ │ ├── MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithParameterAttributes.verified.cake │ │ ├── MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithReservedKeywordParameter.verified.cake │ │ ├── MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithReturnValue.verified.cake │ │ ├── MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Obsolete_Methods_name=Obsolete_ExplicitError_WithMessage.verified.cake │ │ ├── MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Obsolete_Methods_name=Obsolete_ExplicitWarning_WithMessage.verified.cake │ │ ├── MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Obsolete_Methods_name=Obsolete_ImplicitWarning_NoMessage.verified.cake │ │ ├── MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Obsolete_Methods_name=Obsolete_ImplicitWarning_WithMessage.verified.cake │ │ ├── PropertyAliasGeneratorTests.TheGenerateMethod.Should_Return_Correct_Generated_Code_For_Cached_Obsolete_Properties_name=Cached_Obsolete_ExplicitError_WithMessage.verified.cake │ │ ├── PropertyAliasGeneratorTests.TheGenerateMethod.Should_Return_Correct_Generated_Code_For_Cached_Obsolete_Properties_name=Cached_Obsolete_ExplicitWarning_WithMessage.verified.cake │ │ ├── PropertyAliasGeneratorTests.TheGenerateMethod.Should_Return_Correct_Generated_Code_For_Cached_Obsolete_Properties_name=Cached_Obsolete_ImplicitWarning_NoMessage.verified.cake │ │ ├── PropertyAliasGeneratorTests.TheGenerateMethod.Should_Return_Correct_Generated_Code_For_Cached_Obsolete_Properties_name=Cached_Obsolete_ImplicitWarning_WithMessage.verified.cake │ │ ├── PropertyAliasGeneratorTests.TheGenerateMethod.Should_Return_Correct_Generated_Code_For_Cached_Properties_name=Cached_Dynamic_Type.verified.cake │ │ ├── PropertyAliasGeneratorTests.TheGenerateMethod.Should_Return_Correct_Generated_Code_For_Cached_Properties_name=Cached_Nullable_Type.verified.cake │ │ ├── PropertyAliasGeneratorTests.TheGenerateMethod.Should_Return_Correct_Generated_Code_For_Cached_Properties_name=Cached_Reference_Type.verified.cake │ │ ├── PropertyAliasGeneratorTests.TheGenerateMethod.Should_Return_Correct_Generated_Code_For_Cached_Properties_name=Cached_Value_Type.verified.cake │ │ ├── PropertyAliasGeneratorTests.TheGenerateMethod.Should_Return_Correct_Generated_Code_For_Non_Cached_Obsolete_Properties_name=NonCached_Obsolete_ExplicitError_WithMessage.verified.cake │ │ ├── PropertyAliasGeneratorTests.TheGenerateMethod.Should_Return_Correct_Generated_Code_For_Non_Cached_Obsolete_Properties_name=NonCached_Obsolete_ExplicitWarning_WithMessage.verified.cake │ │ ├── PropertyAliasGeneratorTests.TheGenerateMethod.Should_Return_Correct_Generated_Code_For_Non_Cached_Obsolete_Properties_name=NonCached_Obsolete_ImplicitWarning_NoMessage.verified.cake │ │ ├── PropertyAliasGeneratorTests.TheGenerateMethod.Should_Return_Correct_Generated_Code_For_Non_Cached_Obsolete_Properties_name=NonCached_Obsolete_ImplicitWarning_WithMessage.verified.cake │ │ ├── PropertyAliasGeneratorTests.TheGenerateMethod.Should_Return_Correct_Generated_Code_For_Non_Cached_Properties_name=NonCached_Dynamic_Type.verified.cake │ │ └── PropertyAliasGeneratorTests.TheGenerateMethod.Should_Return_Correct_Generated_Code_For_Non_Cached_Properties_name=NonCached_Value_Type.verified.cake │ ├── Extensions │ │ └── StringExtensions.cs │ ├── Fixtures │ │ ├── CakeConfigurationProviderFixture.cs │ │ ├── CakeContextFixture.cs │ │ ├── CakeEngineFixture.cs │ │ ├── DummyToolFixture.cs │ │ ├── GlobberFixture.cs │ │ ├── MethodAliasGeneratorFixture.cs │ │ ├── NotFormattableFixture.cs │ │ ├── NuGetToolResolverFixture.cs │ │ ├── ProcessRunnerFixture.cs │ │ ├── ProcessWrapperFixture.cs │ │ ├── PropertyAliasGeneratorFixture.cs │ │ ├── ScriptAnalyzerFixture.cs │ │ ├── ScriptHostFixture.cs │ │ ├── ScriptProcessorFixture.cs │ │ ├── ScriptRunnerFixture.cs │ │ └── ToolResolutionStrategyFixture.cs │ ├── Properties │ │ ├── AssemblyInfo.cs │ │ ├── Resources.Designer.cs │ │ └── Resources.resx │ ├── Stubs │ │ ├── DummySettings.cs │ │ └── DummyTool.cs │ ├── Unit │ │ ├── Annotations │ │ │ ├── CakeAliasCategoryAttributeTests.cs │ │ │ ├── CakeModuleAttributeTests.cs │ │ │ ├── CakeNamespaceImportAttributeTests.cs │ │ │ └── CakePropertyAliasAttributeTests.cs │ │ ├── CakeArgumentsTests.cs │ │ ├── CakeContextTests.cs │ │ ├── CakeEngineActionsTests.cs │ │ ├── CakeEngineTests.cs │ │ ├── CakeReportTests.cs │ │ ├── CakeRuntimeTests.cs │ │ ├── CakeTaskBuilderExtensionsTests.cs │ │ ├── CakeTaskBuilderOfTExtensionsTests.cs │ │ ├── CakeTaskBuilderTests.cs │ │ ├── CakeTaskCriteriaTests.cs │ │ ├── CakeTaskExtensionsTests.cs │ │ ├── CakeTaskTests.cs │ │ ├── Configuration │ │ │ ├── CakeConfigurationProviderTests.cs │ │ │ └── Parser │ │ │ │ ├── ConfigurationParserTests.cs │ │ │ │ └── ConfigurationTokenizerTests.cs │ │ ├── Diagnostics │ │ │ ├── AnsiDetectorTests.cs │ │ │ ├── CakeBuildLogTests.cs │ │ │ ├── FormatParserTests.cs │ │ │ ├── Formatting │ │ │ │ └── PropertyTokenTests.cs │ │ │ └── LogExtensionsTests.cs │ │ ├── DisposableTests.cs │ │ ├── ExecutionSettingsTests.cs │ │ ├── Extensions │ │ │ ├── ByteArrayExtensionsTests.cs │ │ │ └── ProcessArgumentListExtensionsTests.cs │ │ ├── Graph │ │ │ ├── CakeGraphBuilderTests.cs │ │ │ └── CakeGraphTests.cs │ │ ├── IO │ │ │ ├── Arguments │ │ │ │ ├── QuotedArgumentTests.cs │ │ │ │ ├── SecretArgumentTests.cs │ │ │ │ └── TextArgumentTests.cs │ │ │ ├── DirectoryPathCollectionTests.cs │ │ │ ├── DirectoryPathConverterTests.cs │ │ │ ├── DirectoryPathTests.cs │ │ │ ├── FileExtensionsTests.cs │ │ │ ├── FilePathCollectionTests.cs │ │ │ ├── FilePathConverterTests.cs │ │ │ ├── FilePathTests.cs │ │ │ ├── FileSystemExtensionsTest.cs │ │ │ ├── Globbing │ │ │ │ ├── GlobberTests.cs │ │ │ │ ├── UncGlobberTests.cs │ │ │ │ └── WindowsGlobberTests.cs │ │ │ ├── NuGet │ │ │ │ └── NuGetToolResolverTests.cs │ │ │ ├── PathCollapserTests.cs │ │ │ ├── PathCollectionTests.cs │ │ │ ├── PathComparerTests.cs │ │ │ ├── PathExtensionsTests.cs │ │ │ ├── PathTests.cs │ │ │ ├── ProcessArgumentBuilderTests.cs │ │ │ ├── ProcessRunnerTests.cs │ │ │ ├── ProcessSettingsTests.cs │ │ │ └── ProcessWrapperTests.cs │ │ ├── Packaging │ │ │ └── PackageReferenceTests.cs │ │ ├── Scripting │ │ │ ├── Analysis │ │ │ │ ├── ScriptAnalyzerResultTests.cs │ │ │ │ └── ScriptAnalyzerTests.cs │ │ │ ├── CodeGen │ │ │ │ ├── GenericConstraintFakes.cs │ │ │ │ ├── GenericParameterConstraintEmitterTests.cs │ │ │ │ ├── MethodAliasGeneratorTests.cs │ │ │ │ ├── ParameterEmitterTests.cs │ │ │ │ ├── ParameterFormatterTests.cs │ │ │ │ └── PropertyAliasGeneratorTests.cs │ │ │ ├── Processors │ │ │ │ └── LoadDirectiveProcessorTests.cs │ │ │ ├── ScriptAliasTests.cs │ │ │ ├── ScriptHostTests.cs │ │ │ ├── ScriptProcessorTests.cs │ │ │ ├── ScriptRunnerTests.cs │ │ │ └── ScriptTests.cs │ │ ├── TaskSetupContextTests.cs │ │ ├── TaskTeardownContextTests.cs │ │ ├── TeardownContextTests.cs │ │ ├── Text │ │ │ ├── QuoteAwareStringSplitterTests.cs │ │ │ └── TextTransformationTemplateTests.cs │ │ └── Tooling │ │ │ ├── ToolLocatorTests.cs │ │ │ ├── ToolResolutionStrategyTests.cs │ │ │ ├── ToolSettingsExtensionsTests.cs │ │ │ └── ToolTests.cs │ └── VerifyConfig.cs ├── Cake.Core │ ├── AfterSetupEventArgs.cs │ ├── AfterTaskSetupEventArgs.cs │ ├── AfterTaskTeardownEventArgs.cs │ ├── AfterTeardownEventArgs.cs │ ├── Annotations │ │ ├── CakeAliasAttribute.cs │ │ ├── CakeAliasCategoryAttribute.cs │ │ ├── CakeMethodAliasAttribute.cs │ │ ├── CakeModuleAttribute.cs │ │ ├── CakeNamespaceImportAttribute.cs │ │ └── CakePropertyAliasAttribute.cs │ ├── BeforeSetupEventArgs.cs │ ├── BeforeTaskSetupEventArgs.cs │ ├── BeforeTaskTeardownEventArgs.cs │ ├── BeforeTeardownEventArgs.cs │ ├── Cake.Core.csproj │ ├── CakeArguments.cs │ ├── CakeConsole.cs │ ├── CakeContext.cs │ ├── CakeContextAdapter.cs │ ├── CakeDataService.cs │ ├── CakeEngine.cs │ ├── CakeEngineActions.cs │ ├── CakeEnvironment.cs │ ├── CakeEnvironmentExtensions.cs │ ├── CakeException.cs │ ├── CakePlatform.cs │ ├── CakeReport.cs │ ├── CakeReportEntry.cs │ ├── CakeReportEntryCategory.cs │ ├── CakeReportException.cs │ ├── CakeReportPrinter.cs │ ├── CakeRuntime.cs │ ├── CakeTask.cs │ ├── CakeTaskBuilder.Criterias.cs │ ├── CakeTaskBuilder.Dependencies.cs │ ├── CakeTaskBuilder.Errors.cs │ ├── CakeTaskBuilder.Execution.cs │ ├── CakeTaskBuilder.Metadata.cs │ ├── CakeTaskBuilder.cs │ ├── CakeTaskBuilderOfT.Criterias.cs │ ├── CakeTaskBuilderOfT.Dependencies.cs │ ├── CakeTaskBuilderOfT.Errors.cs │ ├── CakeTaskBuilderOfT.Execution.cs │ ├── CakeTaskBuilderOfT.Metadata.cs │ ├── CakeTaskBuilderOfT.cs │ ├── CakeTaskCriteria.cs │ ├── CakeTaskDependency.cs │ ├── CakeTaskExecutionStatus.cs │ ├── CakeTaskExtensions.cs │ ├── Composition │ │ ├── ICakeContainerRegistrar.cs │ │ ├── ICakeModule.cs │ │ └── ICakeRegistrationBuilder.cs │ ├── Configuration │ │ ├── CakeConfiguration.cs │ │ ├── CakeConfigurationProvider.cs │ │ ├── ICakeConfiguration.cs │ │ ├── KeyNormalizer.cs │ │ └── Parser │ │ │ ├── ConfigurationParser.cs │ │ │ ├── ConfigurationToken.cs │ │ │ ├── ConfigurationTokenKind.cs │ │ │ ├── ConfigurationTokenStream.cs │ │ │ └── ConfigurationTokenizer.cs │ ├── Constants.cs │ ├── DefaultExecutionStrategy.cs │ ├── Diagnostics │ │ ├── CakeBuildLog.cs │ │ ├── CakeDebugger.cs │ │ ├── Console │ │ │ ├── AnsiConsoleRenderer.cs │ │ │ ├── AnsiDetector.cs │ │ │ ├── ConsolePalette.cs │ │ │ ├── ConsoleRenderer.cs │ │ │ └── IConsoleRenderer.cs │ │ ├── Formatting │ │ │ ├── CharReader.cs │ │ │ ├── FormatParser.cs │ │ │ ├── FormatToken.cs │ │ │ ├── LiteralToken.cs │ │ │ └── PropertyToken.cs │ │ ├── ICakeDebugger.cs │ │ ├── ICakeLog.cs │ │ ├── LogAction.cs │ │ ├── LogExtensions.cs │ │ ├── LogLevel.cs │ │ ├── NullLog.cs │ │ └── Verbosity.cs │ ├── Disposable.cs │ ├── ExecutionSettings.cs │ ├── Extensions │ │ ├── ByteArrayExtensions.cs │ │ ├── CakeArgumentsExtensions.cs │ │ ├── CakeConfigurationExtensions.cs │ │ ├── CakePlatformExtensions.cs │ │ ├── ConsoleExtensions.cs │ │ ├── ContainerExtensions.cs │ │ ├── DirectoryExtensions.cs │ │ ├── EnumerableStringExtensions.cs │ │ ├── HashSetExtensions.cs │ │ ├── MethodInfoExtensions.cs │ │ ├── ProcessArgumentListExtensions.cs │ │ ├── ProcessRunnerExtensions.cs │ │ ├── ProcessSettingsExtensions.cs │ │ ├── StringExtensions.cs │ │ ├── TypeExtensions.cs │ │ └── UriExtensions.cs │ ├── Graph │ │ ├── CakeGraph.cs │ │ ├── CakeGraphBuilder.cs │ │ └── CakeGraphEdge.cs │ ├── ICakeArguments.cs │ ├── ICakeContext.cs │ ├── ICakeDataResolver.cs │ ├── ICakeDataService.cs │ ├── ICakeEngine.cs │ ├── ICakeEnvironment.cs │ ├── ICakePlatform.cs │ ├── ICakeReportPrinter.cs │ ├── ICakeRuntime.cs │ ├── ICakeTaskInfo.cs │ ├── IConsole.cs │ ├── IExecutionStrategy.cs │ ├── IO │ │ ├── Arguments │ │ │ ├── QuotedArgument.cs │ │ │ ├── SecretArgument.cs │ │ │ ├── SwitchArgument.cs │ │ │ └── TextArgument.cs │ │ ├── ConsoleMode.cs │ │ ├── Directory.cs │ │ ├── DirectoryPath.cs │ │ ├── DirectoryPathCollection.cs │ │ ├── DirectoryPathConverter.cs │ │ ├── File.cs │ │ ├── FileExtensions.cs │ │ ├── FilePath.cs │ │ ├── FilePathCollection.cs │ │ ├── FilePathConverter.cs │ │ ├── FileSystem.cs │ │ ├── FileSystemExtensions.cs │ │ ├── GlobPattern.cs │ │ ├── Globber.cs │ │ ├── GlobberExtensions.cs │ │ ├── GlobberSettings.cs │ │ ├── Globbing │ │ │ ├── GlobNode.cs │ │ │ ├── GlobNodeRewriter.cs │ │ │ ├── GlobNodeValidator.cs │ │ │ ├── GlobParser.cs │ │ │ ├── GlobParserContext.cs │ │ │ ├── GlobToken.cs │ │ │ ├── GlobTokenBuffer.cs │ │ │ ├── GlobTokenKind.cs │ │ │ ├── GlobTokenizer.cs │ │ │ ├── GlobVisitor.cs │ │ │ ├── GlobVisitorContext.cs │ │ │ └── Nodes │ │ │ │ ├── CurrentDirectoryNode.cs │ │ │ │ ├── MatchableNode.cs │ │ │ │ ├── ParentDirectoryNode.cs │ │ │ │ ├── PathNode.cs │ │ │ │ ├── RecursiveWildcardNode.cs │ │ │ │ ├── RelativeRootNode.cs │ │ │ │ ├── Segments │ │ │ │ ├── BraceExpansionSegment.cs │ │ │ │ ├── BracketWildcardSegment.cs │ │ │ │ ├── CharacterWildcardSegment.cs │ │ │ │ ├── PathSegment.cs │ │ │ │ ├── TextSegment.cs │ │ │ │ └── WildcardSegment.cs │ │ │ │ ├── UncRootNode.cs │ │ │ │ ├── UnixRootNode.cs │ │ │ │ ├── WildcardNode.cs │ │ │ │ └── WindowsRootNode.cs │ │ ├── IDirectory.cs │ │ ├── IFile.cs │ │ ├── IFileSystem.cs │ │ ├── IFileSystemInfo.cs │ │ ├── IGlobber.cs │ │ ├── IPath.cs │ │ ├── IProcess.cs │ │ ├── IProcessArgument.cs │ │ ├── IProcessRunner.cs │ │ ├── IRegistry.cs │ │ ├── IRegistryKey.cs │ │ ├── NuGet │ │ │ ├── INuGetToolResolver.cs │ │ │ └── NuGetToolResolver.cs │ │ ├── Path.cs │ │ ├── PathCollapser.cs │ │ ├── PathCollection.cs │ │ ├── PathComparer.cs │ │ ├── PathExtensions.cs │ │ ├── PathHelper.cs │ │ ├── ProcessArgumentBuilder.cs │ │ ├── ProcessRunner.cs │ │ ├── ProcessSettings.cs │ │ ├── ProcessWrapper.cs │ │ ├── RelativePathResolver.cs │ │ ├── SearchScope.cs │ │ ├── SpecialPath.cs │ │ ├── WindowsRegistry.cs │ │ └── WindowsRegistryKey.cs │ ├── ISetupContext.cs │ ├── ITaskSetupContext.cs │ ├── ITaskTeardownContext.cs │ ├── ITeardownContext.cs │ ├── Modules │ │ └── CoreModule.cs │ ├── Packaging │ │ ├── IPackageInstaller.cs │ │ ├── PackageReference.cs │ │ └── PackageType.cs │ ├── PlatformFamily.cs │ ├── Polyfill │ │ ├── AssemblyHelper.cs │ │ ├── EnvironmentHelper.cs │ │ ├── ProcessHelper.cs │ │ ├── Runtime.cs │ │ ├── SpecialPathHelper.cs │ │ ├── UnixNative.cs │ │ └── WindowsNative.cs │ ├── Properties │ │ ├── AssemblyInfo.cs │ │ └── Namespaces.cs │ ├── Reflection │ │ ├── AssemblyLoader.cs │ │ ├── AssemblyVerifier.cs │ │ ├── IAssemblyLoader.cs │ │ ├── IAssemblyVerifier.cs │ │ └── SimpleAssemblyComparer.cs │ ├── Scripting │ │ ├── Analysis │ │ │ ├── IScriptAnalyzer.cs │ │ │ ├── IScriptAnalyzerContext.cs │ │ │ ├── IScriptInformation.cs │ │ │ ├── ScriptAnalyzer.cs │ │ │ ├── ScriptAnalyzerContext.cs │ │ │ ├── ScriptAnalyzerError.cs │ │ │ ├── ScriptAnalyzerMode.cs │ │ │ ├── ScriptAnalyzerResult.cs │ │ │ ├── ScriptAnalyzerSettings.cs │ │ │ └── ScriptInformation.cs │ │ ├── CodeGen │ │ │ ├── GenericParameterConstraintEmitter.cs │ │ │ ├── MethodAliasGenerator.cs │ │ │ ├── ParameterEmitter.cs │ │ │ ├── ParameterFormatter.cs │ │ │ └── PropertyAliasGenerator.cs │ │ ├── IReferenceAssemblyResolver.cs │ │ ├── IScriptAliasFinder.cs │ │ ├── IScriptConventions.cs │ │ ├── IScriptEngine.cs │ │ ├── IScriptHost.cs │ │ ├── IScriptProcessor.cs │ │ ├── IScriptRunner.cs │ │ ├── IScriptSession.cs │ │ ├── Processors │ │ │ ├── AddInDirectiveProcessor.cs │ │ │ ├── BreakDirectiveProcessor.cs │ │ │ ├── DefineDirectiveProcessor.cs │ │ │ ├── LineProcessor.cs │ │ │ ├── LoadDirectiveProcessor.cs │ │ │ ├── Loading │ │ │ │ ├── FileLoadDirectiveProvider.cs │ │ │ │ ├── ILoadDirectiveProvider.cs │ │ │ │ └── LoadReference.cs │ │ │ ├── ModuleDirectiveProcessor.cs │ │ │ ├── ReferenceDirectiveProcessor.cs │ │ │ ├── ShebangProcessor.cs │ │ │ ├── ToolDirectiveProcessor.cs │ │ │ ├── UriDirectiveProcessor.cs │ │ │ └── UsingStatementProcessor.cs │ │ ├── Script.cs │ │ ├── ScriptAlias.cs │ │ ├── ScriptAliasFinder.cs │ │ ├── ScriptAliasType.cs │ │ ├── ScriptConventions.cs │ │ ├── ScriptHost.cs │ │ ├── ScriptProcessor.cs │ │ └── ScriptRunner.cs │ ├── SetupContext.cs │ ├── TaskSetupContext.cs │ ├── TaskTeardownContext.cs │ ├── TeardownContext.cs │ ├── Text │ │ ├── ITextTransformationTemplate.cs │ │ ├── QuoteAwareStringSplitter.cs │ │ └── TextTransformationTemplate.cs │ └── Tooling │ │ ├── IToolLocator.cs │ │ ├── IToolRepository.cs │ │ ├── IToolResolutionStrategy.cs │ │ ├── Tool.cs │ │ ├── ToolLocator.cs │ │ ├── ToolRepository.cs │ │ ├── ToolResolutionStrategy.cs │ │ ├── ToolSettings.cs │ │ └── ToolSettingsExtensions.cs ├── Cake.DotNetTool.Module.Tests │ ├── Cake.DotNetTool.Module.Tests.csproj │ ├── DotNetToolPackageInstallerFixture.cs │ └── DotNetToolPackageInstallerTests.cs ├── Cake.DotNetTool.Module │ ├── Cake.DotNetTool.Module.csproj │ ├── Cake.DotNetTool.Module.ruleset │ ├── DotNetToolContentResolver.cs │ ├── DotNetToolModule.cs │ ├── DotNetToolOperation.cs │ ├── DotNetToolPackage.cs │ ├── DotNetToolPackageInstaller.cs │ ├── IDotNetToolContentResolver.cs │ └── icon.png ├── Cake.Frosting.Example │ ├── Cake.Frosting.Example.csproj │ └── Program.cs ├── Cake.Frosting.Template │ ├── Cake.Frosting.Template.csproj │ └── templates │ │ └── cakefrosting │ │ ├── .template.config │ │ ├── ide.host.json │ │ └── template.json │ │ ├── build.ps1 │ │ ├── build.sh │ │ └── build │ │ ├── Build.csproj │ │ └── Program.cs ├── Cake.Frosting.Tests.Tasks │ ├── Cake.Frosting.Tests.Tasks.csproj │ └── Tasks │ │ ├── BuildTask.cs │ │ ├── CleanTask.cs │ │ ├── ContinueOnErrorTask.cs │ │ ├── DependeeTask.cs │ │ ├── DummyTask.cs │ │ ├── DummyTask2.cs │ │ ├── DummyTask3.cs │ │ ├── FinallyTask.cs │ │ ├── InvalidDependencyTask.cs │ │ ├── OnErrorRunAsyncFailedTask.cs │ │ ├── OnErrorRunCompletedTask.cs │ │ ├── OnErrorRunFailedTask.cs │ │ └── UnitTestsTask.cs ├── Cake.Frosting.Tests │ ├── Cake.Frosting.Tests.csproj │ ├── CakeHostTests.cs │ ├── Fakes │ │ ├── FakeLifetime.cs │ │ └── FakeTaskLifetime.cs │ └── Fixtures │ │ └── CakeHostFixture.cs ├── Cake.Frosting │ ├── Annotations │ │ ├── ContinueOnErrorAttribute.cs │ │ ├── IsDependeeOfAttribute.cs │ │ ├── IsDependentOnAttribute.cs │ │ ├── TaskDescriptionAttribute.cs │ │ └── TaskNameAttribute.cs │ ├── AsyncFrostingTask.cs │ ├── Cake.Frosting.csproj │ ├── CakeHost.cs │ ├── Extensions │ │ ├── CakeHostExtensions.cs │ │ └── ServiceCollectionExtensions.cs │ ├── FrostingContext.cs │ ├── FrostingException.cs │ ├── FrostingLifetime.cs │ ├── FrostingSetup.cs │ ├── FrostingTask.cs │ ├── FrostingTaskLifetime.cs │ ├── FrostingTaskSetup.cs │ ├── FrostingTaskTeardown.cs │ ├── FrostingTeardown.cs │ ├── IFrostingContext.cs │ ├── IFrostingLifetime.cs │ ├── IFrostingStartup.cs │ ├── IFrostingTask.cs │ ├── IFrostingTaskLifetime.cs │ ├── IToolInstaller.cs │ └── Internal │ │ ├── Commands │ │ ├── DefaultCommand.cs │ │ └── DefaultCommandSettings.cs │ │ ├── Engines │ │ ├── FrostingDescriptionRunner.cs │ │ ├── FrostingDryRunner.cs │ │ ├── FrostingRunner.cs │ │ └── FrostingTreeRunner.cs │ │ ├── Extensions │ │ ├── FrostingLifetimeExtensions.cs │ │ ├── FrostingTaskExtensions.cs │ │ ├── FrostingTaskLifetimeExtensions.cs │ │ ├── MethodInfoExtensions.cs │ │ ├── TaskNameHelper.cs │ │ └── TypeExtensions.cs │ │ ├── FrostingConfiguration.cs │ │ ├── FrostingConfigurationValue.cs │ │ ├── FrostingEngine.cs │ │ ├── IReverseTaskDependency.cs │ │ ├── ITaskDependency.cs │ │ ├── ServiceCollectionAdapter.cs │ │ ├── ServiceRegistration.cs │ │ ├── ToolInstaller.cs │ │ ├── TypeRegistrar.cs │ │ ├── TypeResolver.cs │ │ └── WorkingDirectory.cs ├── Cake.NuGet.Tests │ ├── Cake.NuGet.Tests.csproj │ ├── Fixtures │ │ ├── NuGetAddinContentResolverFixture.cs │ │ ├── NuGetContentResolverFixture.cs │ │ ├── NuGetLoadDirectiveProviderFixture.cs │ │ ├── NuGetLoadDirectiveProviderFixtureResult.cs │ │ ├── NuGetModuleFixture.cs │ │ ├── NuGetPackageInstallerFixture.cs │ │ └── NuGetToolContentResolverFixture.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── Stubs │ │ ├── FakeNuGetSettingSection.cs │ │ └── FakeNuGetSettings.cs │ └── Unit │ │ ├── NuGetContentResolverTests.cs │ │ ├── NuGetLoadDirectiveProviderTests.cs │ │ ├── NuGetModuleTests.cs │ │ ├── NuGetSourceRepositoryProviderTests.cs │ │ └── OutProcNuGetPackageInstallerTests.cs ├── Cake.NuGet │ ├── Cake.NuGet.csproj │ ├── Client │ │ ├── NuGetLogger.cs │ │ ├── NuGetSourceRepositoryComparer.cs │ │ ├── NuGetSourceRepositoryProvider.cs │ │ └── PackageReferenceExtensions.cs │ ├── Constants.cs │ ├── INuGetContentResolver.cs │ ├── INuGetPackageInstaller.cs │ ├── Installers │ │ ├── InProcessInstaller.cs │ │ └── OutOfProcessInstaller.cs │ ├── NuGetContentResolver.cs │ ├── NuGetLoadDirectiveProvider.cs │ ├── NuGetModule.cs │ ├── NuGetPackageInstaller.cs │ └── Properties │ │ └── AssemblyInfo.cs ├── Cake.Testing.Xunit.v3 │ ├── Cake.Testing.Xunit.v3.csproj │ └── Properties │ │ └── AssemblyInfo.cs ├── Cake.Testing.Xunit │ ├── Cake.Testing.Xunit.csproj │ ├── ExceptionAsserts.cs │ ├── NonWindowsFactAttribute.cs │ ├── NonWindowsTheoryAttribute.cs │ ├── PathAsserts.cs │ ├── PlatformRestrictedFactAttribute.cs │ ├── PlatformRestrictedTheoryAttribute.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── Settings.StyleCop │ ├── TestRuntime.cs │ ├── WindowsFactAttribute.cs │ └── WindowsTheoryAttribute.cs ├── Cake.Testing │ ├── Cake.Testing.csproj │ ├── Extensions │ │ ├── FakeDirectoryExtensions.cs │ │ ├── FakeFileExtensions.cs │ │ ├── FakeFileSystemExtensions.cs │ │ ├── FakeLogExtensions.cs │ │ ├── ReflectionExtensions.cs │ │ └── ToolFixtureExtensions.cs │ ├── FakeConfiguration.cs │ ├── FakeConsole.cs │ ├── FakeDirectory.cs │ ├── FakeDirectoryContent.cs │ ├── FakeEnvironment.cs │ ├── FakeFile.cs │ ├── FakeFileStream.cs │ ├── FakeFileSystem.cs │ ├── FakeFileSystemTree.cs │ ├── FakeLog.cs │ ├── FakeLogMessage.cs │ ├── FakePlatform.cs │ ├── FakeProcess.cs │ ├── FakeRuntime.cs │ ├── Fixtures │ │ ├── ToolFixtureProcessRunner.cs │ │ ├── ToolFixtureResult.cs │ │ ├── ToolFixture`1.cs │ │ └── ToolFixture`2.cs │ ├── MemberTestInfo.cs │ ├── MemberTestingUtils.cs │ └── Properties │ │ └── AssemblyInfo.cs ├── Cake.Tests │ ├── Cake.Tests.csproj │ ├── Fakes │ │ ├── FakeDebugger.cs │ │ ├── FakeRemainingArguments.cs │ │ ├── FakeScriptEngine.cs │ │ ├── FakeScriptSession.cs │ │ └── FakeVersionResolver.cs │ ├── Fixtures │ │ ├── BuildFeatureFixture.cs │ │ ├── BuildFeatureFixtureResult.cs │ │ ├── ProgramFixture.cs │ │ └── ProgramFixtureResult.cs │ ├── Infrastructure │ │ └── Scripting │ │ │ └── RoslynScriptSessionTests.cs │ ├── Unit │ │ ├── Features │ │ │ ├── BuildFeatureTests.cs │ │ │ ├── InfoFeatureTests.cs │ │ │ └── VersionFeatureTests.cs │ │ └── ProgramTests.cs │ └── Utilities │ │ └── TestContainerConfigurator.cs ├── Cake.ruleset ├── Cake.sln ├── Cake.sln.DotSettings ├── Cake │ ├── App.config │ ├── Cake.csproj │ ├── Commands │ │ ├── DefaultCommand.cs │ │ └── DefaultCommandSettings.cs │ ├── Features │ │ ├── Bootstrapping │ │ │ ├── BootstrapFeature.cs │ │ │ └── BootstrapFeatureSettings.cs │ │ ├── Building │ │ │ ├── BuildFeature.cs │ │ │ ├── BuildFeatureSettings.cs │ │ │ └── BuildHostKind.cs │ │ └── CakeFeature.cs │ ├── Infrastructure │ │ ├── CakeConfigurationExtensions.cs │ │ ├── Composition │ │ │ ├── AutofacTypeRegistrar.cs │ │ │ ├── AutofacTypeResolver.cs │ │ │ ├── ContainerRegistrationBuilder.cs │ │ │ ├── ModuleLoader.cs │ │ │ └── ModuleSearcher.cs │ │ ├── Constants.cs │ │ ├── ContainerConfigurator.cs │ │ ├── IContainerConfigurator.cs │ │ ├── IScriptHostSettings.cs │ │ ├── Scripting │ │ │ ├── ReferenceAssemblyResolver.cs │ │ │ ├── RoslynCodeGenerator.cs │ │ │ ├── RoslynScriptEngine.cs │ │ │ ├── RoslynScriptSession.cs │ │ │ └── ScriptAssemblyResolver.cs │ │ └── Utilities │ │ │ └── FastHash.cs │ ├── Program.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ └── runtimeconfig.template.json ├── Directory.Build.props ├── Directory.Packages.props ├── Settings.StyleCop ├── Shared.msbuild ├── SolutionInfo.cs ├── Test.ruleset ├── stylecop.json └── xunit.runner.json └── tests └── integration ├── .gitignore ├── Cake.Common ├── ArgumentAliases.cake ├── Build │ ├── AzurePipelines │ │ └── AzurePipelinesProvider.cake │ ├── BuildSystemAliases.cake │ └── GitHubActions │ │ ├── GitHubActionsProvider.cake │ │ └── ValidateGitHubActionsProvider.cake ├── Diagnostics │ └── LoggingAliases.cake ├── EnvironmentAliases.cake ├── IO │ ├── DirectoryAliases.cake │ ├── FileAliases.cake │ ├── FileAsync.cake │ ├── GlobbingAliases.cake │ └── ZipAliases.cake ├── ProcessAliases.cake ├── ReleaseNotesAliases.cake ├── Security │ └── SecurityAliases.cake ├── Solution │ ├── Project │ │ ├── ProjectAliases.cake │ │ ├── Properties │ │ │ └── AssemblyInfoAliases.cake │ │ └── XmlDoc │ │ │ └── XmlDocAliases.cake │ └── SolutionAliases.cake ├── Text │ └── TextTransformationAliases.cake └── Tools │ ├── Cake │ └── CakeAliases.cake │ ├── Chocolatey │ └── ChocolateyAliases.cake │ ├── Command │ └── CommandAliases.cake │ ├── DotNet │ └── DotNetAliases.cake │ ├── NuGet │ └── NuGetAliases.cake │ └── TextTransform │ └── TextTransformAliases.cake ├── Cake.Core ├── CakeAliases.cake ├── Diagnostics │ └── ICakeLog.cake ├── IO │ └── Path.cake ├── Scripting │ ├── AddinDirective.cake │ ├── DefineDirective.cake │ ├── Dynamic.cake │ ├── HttpClient.cake │ ├── LoadDirective.cake │ ├── SpectreConsole.cake │ ├── SystemCollections.cake │ └── UsingDirective.cake └── Tooling │ └── ToolLocator.cake ├── Cake.DotNetTool.Module └── Cake.DotNetTool.Module.cake ├── Cake.Frosting ├── build │ ├── Build.csproj │ ├── Context.cs │ ├── Lifetime.cs │ ├── Program.cs │ └── Tasks │ │ ├── Default.cs │ │ └── Hello.cs └── cake.config ├── Cake.NuGet └── InProcessInstaller.cake ├── Cake └── ScriptCache.cake ├── build.cake ├── build.ps1 ├── build.sh ├── resources ├── Cake.Common │ ├── IO │ │ ├── Root │ │ │ ├── Dir1 │ │ │ │ └── File2.txt │ │ │ ├── Dir2 │ │ │ │ ├── Dir3 │ │ │ │ │ ├── File4.txt │ │ │ │ │ └── File5.txt │ │ │ │ └── File3.txt │ │ │ └── File1.txt │ │ ├── testfile.txt │ │ └── testfile.zip │ ├── ReleaseNotes.md │ ├── ReleaseNotesSemVer.md │ ├── Security │ │ └── testfile.txt │ ├── Solution │ │ ├── Project │ │ │ ├── Project.csproj │ │ │ ├── Properties │ │ │ │ ├── AssemblyInfo.cs │ │ │ │ └── SolutionInfo.cs │ │ │ └── XmlDoc │ │ │ │ ├── Common.XML │ │ │ │ └── Core.XML │ │ ├── ReferenceProject │ │ │ └── ReferenceProject.csproj │ │ └── Solution.sln │ ├── Text │ │ ├── customtemplate.txt │ │ └── template.txt │ └── Tools │ │ ├── Cake │ │ ├── build.cake │ │ ├── targets.cake │ │ └── test.cake │ │ ├── DotNet │ │ ├── hwapp.common │ │ │ ├── Greeter.cs │ │ │ └── hwapp.common.csproj │ │ ├── hwapp.sln │ │ ├── hwapp.tests │ │ │ ├── Tests.cs │ │ │ ├── VSTests.cs │ │ │ └── hwapp.tests.csproj │ │ └── hwapp │ │ │ ├── Program.cs │ │ │ └── hwapp.csproj │ │ ├── NuGet │ │ └── NuGet.config │ │ └── TextTransform │ │ └── HelloWorld.tt ├── Cake.Core │ ├── Scripting │ │ ├── Globber │ │ │ ├── nothrow.cake │ │ │ └── throws.cake │ │ ├── TestClass.cs │ │ ├── addin │ │ │ ├── MyCakeExtension.cs │ │ │ └── addin.csproj │ │ └── file with spaces.cake │ ├── testfile1.txt │ ├── testfile2.txt │ └── testfile3.txt └── Cake │ └── ScriptCache │ ├── Config │ ├── build.cake │ └── cake.config │ └── build.cake ├── setup.cake ├── teardown.cake └── utilities ├── comparers ├── PathEqualityComparer.cake ├── ProjectAssemblyReferenceEqualityComparer.cake ├── ProjectFileEqualityComparer.cake ├── ProjectParserResultEqualityComparer.cake ├── ProjectReferenceEqualityComparer.cake ├── SolutionParserResultEqualityComparer.cake └── SolutionProjectEqualityComparer.cake ├── context.cake ├── io.cake ├── paths.cake └── xunit.cake /.config/dotnet-tools.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 1, 3 | "isRoot": true, 4 | "tools": { 5 | "cake.tool": { 6 | "version": "5.0.0", 7 | "commands": [ 8 | "dotnet-cake" 9 | ] 10 | } 11 | } 12 | } -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | ; This file is for unifying the coding style for different editors and IDEs. 2 | ; More information at http://EditorConfig.org 3 | 4 | root = true 5 | 6 | [*] 7 | end_of_line = CRLF 8 | 9 | [*.ps1] 10 | indent_style = space 11 | indent_size = 2 12 | 13 | [*.cs] 14 | indent_style = space 15 | indent_size = 4 16 | 17 | [*.cake] 18 | indent_style = space 19 | indent_size = 4 20 | 21 | [*.js] 22 | indent_style = tab 23 | indent_size = 2 24 | 25 | # Verify settings 26 | [*.{received,verified}.{txt,xml,json,cake}] 27 | charset = "utf-8-bom" 28 | end_of_line = lf 29 | indent_size = unset 30 | indent_style = unset 31 | insert_final_newline = false 32 | tab_width = unset 33 | trim_trailing_whitespace = false -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: false 2 | contact_links: 3 | - name: Ask for help or share ideas 4 | url: https://github.com/cake-build/cake/discussions/category_choices 5 | about: Ask the community for help or share ideas for new features. 6 | -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | 14 | -------------------------------------------------------------------------------- /.gitlab-ci.yml: -------------------------------------------------------------------------------- 1 | image: cakebuild/cake:sdk-7.0 2 | stages: 3 | - build 4 | 5 | build_job: 6 | stage: build 7 | script: 8 | - git fetch --unshallow || true 9 | - ./build.sh --target="Run-Unit-Tests" 10 | -------------------------------------------------------------------------------- /.gitpod.yml: -------------------------------------------------------------------------------- 1 | image: gitpod/workspace-dotnet 2 | 3 | vscode: 4 | extensions: 5 | - "muhammad-sammy.csharp" 6 | -------------------------------------------------------------------------------- /GitVersion.yml: -------------------------------------------------------------------------------- 1 | next-version: 5.0.0 2 | branches: 3 | master: 4 | regex: main 5 | mode: ContinuousDelivery 6 | tag: 7 | increment: Patch 8 | prevent-increment-of-merged-branch-version: true 9 | track-merge-target: false 10 | develop: 11 | mode: ContinuousDeployment 12 | tag: alpha 13 | increment: Minor 14 | prevent-increment-of-merged-branch-version: false 15 | track-merge-target: true 16 | ignore: 17 | sha: 18 | - 2a4757b270f7946122ba6622e3d2e72b2b2808a7 19 | - 3e91c23637b97bc4e4c3234f93ffd03e6af70e8c -------------------------------------------------------------------------------- /appveyor.yml: -------------------------------------------------------------------------------- 1 | # Build script 2 | image: Visual Studio 2017 3 | init: 4 | - git config --global core.autocrlf true 5 | 6 | # Build script 7 | build_script: 8 | - ps: Invoke-RestMethod -Uri 'https://dot.net/v1/dotnet-install.ps1' -OutFile '.\dotnet-install.ps1' 9 | - ps: New-Item -Path .\.dotnet -ItemType Directory -Force | Out-Null 10 | - ps: .\dotnet-install.ps1 -Channel 6.0 -InstallDir .\.dotnet 11 | - ps: .\build.ps1 --target="AppVeyor" 12 | 13 | # Tests 14 | test: off 15 | 16 | # Branches to build 17 | branches: 18 | # Whitelist 19 | only: 20 | - develop 21 | - main 22 | - /r/.*/ 23 | - /release/.*/ 24 | - /hotfix/.*/ 25 | - /feature/.*/ 26 | 27 | # Build cache 28 | cache: 29 | - tools -> build.cake 30 | - packages -> build.cake 31 | -------------------------------------------------------------------------------- /bitbucket-pipelines.yml: -------------------------------------------------------------------------------- 1 | # Cake Bitbucket Pipeline 2 | image: cakebuild/cake:sdk-7.0 3 | clone: 4 | depth: full 5 | 6 | pipelines: 7 | default: 8 | - step: 9 | script: 10 | - ./build.sh --target="Run-Unit-Tests" 11 | -------------------------------------------------------------------------------- /build/signclient.filter: -------------------------------------------------------------------------------- 1 | **/Cake.* -------------------------------------------------------------------------------- /global.json: -------------------------------------------------------------------------------- 1 | { 2 | "projects": [ 3 | "src" 4 | ], 5 | "sdk": { 6 | "version": "9.0.300", 7 | "rollForward": "latestFeature" 8 | } 9 | } -------------------------------------------------------------------------------- /nuspec/cake-medium.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cake-build/cake/92ef1379306c37efe3d9bf6547f31a2e5d3a80f1/nuspec/cake-medium.png -------------------------------------------------------------------------------- /src/Cake.Common.Tests/Fixtures/Tools/Chocolatey/Export/ChocolateyExportFixture.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Common.Tools.Chocolatey.Export; 6 | 7 | namespace Cake.Common.Tests.Fixtures.Tools.Chocolatey.Export 8 | { 9 | internal sealed class ChocolateyExportFixture : ChocolateyFixture 10 | { 11 | public ChocolateyExportFixture() 12 | { 13 | } 14 | 15 | protected override void RunTool() 16 | { 17 | var tool = new ChocolateyExporter(FileSystem, Environment, ProcessRunner, Tools, Resolver); 18 | tool.Export(Settings); 19 | } 20 | } 21 | } -------------------------------------------------------------------------------- /src/Cake.Common.Tests/Fixtures/Tools/Chocolatey/Features/ChocolateyDisableFeatureFixture.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Common.Tools.Chocolatey.Features; 6 | 7 | namespace Cake.Common.Tests.Fixtures.Tools.Chocolatey.Features 8 | { 9 | internal sealed class ChocolateyDisableFeatureFixture : ChocolateyFeatureTogglerFixture 10 | { 11 | protected override void RunTool() 12 | { 13 | var tool = new ChocolateyFeatureToggler(FileSystem, Environment, ProcessRunner, Tools, Resolver); 14 | tool.DisableFeature(Name, Settings); 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /src/Cake.Common.Tests/Fixtures/Tools/Chocolatey/Features/ChocolateyEnableFeatureFixture.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Common.Tools.Chocolatey.Features; 6 | 7 | namespace Cake.Common.Tests.Fixtures.Tools.Chocolatey.Features 8 | { 9 | internal sealed class ChocolateyEnableFeatureFixture : ChocolateyFeatureTogglerFixture 10 | { 11 | protected override void RunTool() 12 | { 13 | var tool = new ChocolateyFeatureToggler(FileSystem, Environment, ProcessRunner, Tools, Resolver); 14 | tool.EnableFeature(Name, Settings); 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /src/Cake.Common.Tests/Fixtures/Tools/Chocolatey/Features/ChocolateyFeatureTogglerFixture.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Common.Tools.Chocolatey.Features; 6 | 7 | namespace Cake.Common.Tests.Fixtures.Tools.Chocolatey.Features 8 | { 9 | internal abstract class ChocolateyFeatureTogglerFixture : ChocolateyFixture 10 | { 11 | public string Name { get; set; } 12 | 13 | protected ChocolateyFeatureTogglerFixture() 14 | { 15 | Name = "checkSumFiles"; 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /src/Cake.Common.Tests/Fixtures/Tools/Chocolatey/Packer/ChocolateyPackerWithoutNuSpecFixture.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Common.Tools.Chocolatey.Pack; 6 | 7 | namespace Cake.Common.Tests.Fixtures.Tools.Chocolatey.Packer 8 | { 9 | internal sealed class ChocolateyPackerWithoutNuSpecFixture : ChocolateyPackerFixture 10 | { 11 | protected override void RunTool() 12 | { 13 | var tool = new ChocolateyPacker(FileSystem, Environment, ProcessRunner, Log, Tools, Resolver); 14 | tool.Pack(Settings); 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /src/Cake.Common.Tests/Fixtures/Tools/Chocolatey/Sources/ChocolateyDisableSourceFixture.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Common.Tools.Chocolatey.Sources; 6 | 7 | namespace Cake.Common.Tests.Fixtures.Tools.Chocolatey.Sources 8 | { 9 | internal sealed class ChocolateyDisableSourceFixture : ChocolateySourcesFixture 10 | { 11 | protected override void RunTool() 12 | { 13 | var tool = new ChocolateySources(FileSystem, Environment, ProcessRunner, Tools, Resolver); 14 | tool.DisableSource(Name, Settings); 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /src/Cake.Common.Tests/Fixtures/Tools/Chocolatey/Sources/ChocolateyEnableSourceFixture.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Common.Tools.Chocolatey.Sources; 6 | 7 | namespace Cake.Common.Tests.Fixtures.Tools.Chocolatey.Sources 8 | { 9 | internal sealed class ChocolateyEnableSourceFixture : ChocolateySourcesFixture 10 | { 11 | protected override void RunTool() 12 | { 13 | var tool = new ChocolateySources(FileSystem, Environment, ProcessRunner, Tools, Resolver); 14 | tool.EnableSource(Name, Settings); 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /src/Cake.Common.Tests/Fixtures/Tools/Chocolatey/Sources/ChocolateyRemoveSourceFixture.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Common.Tools.Chocolatey.Sources; 6 | 7 | namespace Cake.Common.Tests.Fixtures.Tools.Chocolatey.Sources 8 | { 9 | internal sealed class ChocolateyRemoveSourceFixture : ChocolateySourcesFixture 10 | { 11 | protected override void RunTool() 12 | { 13 | var tool = new ChocolateySources(FileSystem, Environment, ProcessRunner, Tools, Resolver); 14 | tool.RemoveSource(Name, Settings); 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /src/Cake.Common.Tests/Fixtures/Tools/Chocolatey/Sources/ChocolateySourcesFixture.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Common.Tools.Chocolatey.Sources; 6 | 7 | namespace Cake.Common.Tests.Fixtures.Tools.Chocolatey.Sources 8 | { 9 | internal abstract class ChocolateySourcesFixture : ChocolateyFixture 10 | { 11 | public string Name { get; set; } 12 | 13 | protected ChocolateySourcesFixture() 14 | { 15 | Name = "name"; 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /src/Cake.Common.Tests/Fixtures/Tools/Command/CommandRunnerStandardErrorFixture.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Common.Tests.Fixtures.Tools.Command 6 | { 7 | internal class CommandRunnerStandardErrorFixture : CommandRunnerStandardOutputFixture 8 | { 9 | public string StandardError { get; private set; } 10 | 11 | protected override void RunTool() 12 | { 13 | ExitCode = GetRunner().RunCommand(Arguments, out var standardOutput, out var standardError); 14 | StandardOutput = standardOutput; 15 | StandardError = standardError; 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/Cake.Common.Tests/Fixtures/Tools/Command/CommandRunnerStandardOutFixture.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Common.Tests.Fixtures.Tools.Command 6 | { 7 | internal class CommandRunnerStandardOutputFixture : CommandRunnerFixture 8 | { 9 | public int ExitCode { get; protected set; } 10 | public string StandardOutput { get; protected set; } 11 | 12 | protected override void RunTool() 13 | { 14 | ExitCode = GetRunner().RunCommand(Arguments, out var standardOutput); 15 | StandardOutput = standardOutput; 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/Cake.Common.Tests/Fixtures/Tools/DotNet/Format/DotNetFormatterFixture.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Common.Tools.DotNet.Format; 6 | 7 | namespace Cake.Common.Tests.Fixtures.Tools.DotNet.Format 8 | { 9 | internal sealed class DotNetFormatterFixture : DotNetFixture 10 | { 11 | public string Root { get; set; } 12 | 13 | public string Subcommand { get; set; } 14 | 15 | protected override void RunTool() 16 | { 17 | var tool = new DotNetFormatter(FileSystem, Environment, ProcessRunner, Tools); 18 | tool.Format(Root, Subcommand, Settings); 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/Cake.Common.Tests/Fixtures/Tools/DotNet/SDKCheck/DotNetSDKCheckerFixture.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Common.Tools.DotNet.SDKCheck; 6 | 7 | namespace Cake.Common.Tests.Fixtures.Tools.DotNet.SDKCheck 8 | { 9 | internal sealed class DotNetSDKCheckerFixture : DotNetFixture 10 | { 11 | protected override void RunTool() 12 | { 13 | var tool = new DotNetSDKChecker(FileSystem, Environment, ProcessRunner, Tools); 14 | tool.Check(); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/Cake.Common.Tests/Fixtures/Tools/DotNet/Workload/Repair/DotNetWorkloadRepairerFixture.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Common.Tools.DotNet.Workload.Repair; 6 | 7 | namespace Cake.Common.Tests.Fixtures.Tools.DotNet.Workload.Repair 8 | { 9 | internal sealed class DotNetWorkloadRepairerFixture : DotNetFixture 10 | { 11 | protected override void RunTool() 12 | { 13 | var tool = new DotNetWorkloadRepairer(FileSystem, Environment, ProcessRunner, Tools); 14 | tool.Repair(Settings); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/Cake.Common.Tests/Fixtures/Tools/DotNet/Workload/Update/DotNetWorkloadUpdaterFixture.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Common.Tools.DotNet.Workload.Update; 6 | 7 | namespace Cake.Common.Tests.Fixtures.Tools.DotNet.Workload.Update 8 | { 9 | internal sealed class DotNetWorkloadUpdaterFixture : DotNetFixture 10 | { 11 | protected override void RunTool() 12 | { 13 | var tool = new DotNetWorkloadUpdater(FileSystem, Environment, ProcessRunner, Tools); 14 | tool.Update(Settings); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/Cake.Common.Tests/Fixtures/Tools/DotNetCore/Build/DotNetCoreBuilderFixture.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Common.Tools.DotNet.Build; 6 | 7 | namespace Cake.Common.Tests.Fixtures.Tools.DotNet.Build 8 | { 9 | internal sealed class DotNetBuilderFixture : DotNetFixture 10 | { 11 | public string Project { get; set; } 12 | 13 | protected override void RunTool() 14 | { 15 | var tool = new DotNetBuilder(FileSystem, Environment, ProcessRunner, Tools); 16 | tool.Build(Project, Settings); 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /src/Cake.Common.Tests/Fixtures/Tools/DotNetCore/BuildServer/DotNetCoreBuildServerFixture.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Common.Tools.DotNet.BuildServer; 6 | 7 | namespace Cake.Common.Tests.Fixtures.Tools.DotNet.Build 8 | { 9 | internal sealed class DotNetBuildServerFixture : DotNetFixture 10 | { 11 | protected override void RunTool() 12 | { 13 | var tool = new DotNetBuildServer(FileSystem, Environment, ProcessRunner, Tools); 14 | tool.Shutdown(Settings); 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /src/Cake.Common.Tests/Fixtures/Tools/DotNetCore/Clean/DotNetCoreCleanerFixture.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Common.Tools.DotNet.Clean; 6 | 7 | namespace Cake.Common.Tests.Fixtures.Tools.DotNet.Clean 8 | { 9 | internal sealed class DotNetCleanerFixture : DotNetFixture 10 | { 11 | public string Project { get; set; } 12 | 13 | protected override void RunTool() 14 | { 15 | var tool = new DotNetCleaner(FileSystem, Environment, ProcessRunner, Tools); 16 | tool.Clean(Project, Settings); 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /src/Cake.Common.Tests/Fixtures/Tools/DotNetCore/DotNetCoreFixture.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Common.Tests.Fixtures.Tools.DotNet; 6 | using Cake.Common.Tools.DotNet; 7 | 8 | namespace Cake.Common.Tests.Fixtures.Tools.DotNet 9 | { 10 | internal abstract class DotNetCoreFixture : DotNetFixture 11 | where TSettings : DotNetSettings, new() 12 | { 13 | } 14 | } -------------------------------------------------------------------------------- /src/Cake.Common.Tests/Fixtures/Tools/DotNetCore/NuGet/Push/DotNetCoreNuGetPusherFixture.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Common.Tools.DotNet.NuGet.Push; 6 | 7 | namespace Cake.Common.Tests.Fixtures.Tools.DotNet.NuGet.Push 8 | { 9 | internal sealed class DotNetNuGetPusherFixture : DotNetFixture 10 | { 11 | public string PackageName { get; set; } 12 | 13 | protected override void RunTool() 14 | { 15 | var tool = new DotNetNuGetPusher(FileSystem, Environment, ProcessRunner, Tools); 16 | tool.Push(PackageName, Settings); 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /src/Cake.Common.Tests/Fixtures/Tools/DotNetCore/NuGet/Source/DotNetCoreNuGetAddSourceFixture.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Common.Tools.DotNet.NuGet.Source; 6 | 7 | namespace Cake.Common.Tests.Fixtures.Tools.DotNet.NuGet.Source 8 | { 9 | internal sealed class DotNetNuGetAddSourceFixture : DotNetNuGetSourcerFixture 10 | { 11 | protected override void RunTool() 12 | { 13 | var tool = new DotNetNuGetSourcer(FileSystem, Environment, ProcessRunner, Tools); 14 | tool.AddSource(Name, Settings); 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /src/Cake.Common.Tests/Fixtures/Tools/DotNetCore/NuGet/Source/DotNetCoreNuGetDisableSourceFixture.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Common.Tools.DotNet.NuGet.Source; 6 | 7 | namespace Cake.Common.Tests.Fixtures.Tools.DotNet.NuGet.Source 8 | { 9 | internal sealed class DotNetNuGetDisableSourceFixture : DotNetNuGetSourcerFixture 10 | { 11 | protected override void RunTool() 12 | { 13 | var tool = new DotNetNuGetSourcer(FileSystem, Environment, ProcessRunner, Tools); 14 | tool.DisableSource(Name, Settings); 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /src/Cake.Common.Tests/Fixtures/Tools/DotNetCore/NuGet/Source/DotNetCoreNuGetEnableSourceFixture.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Common.Tools.DotNet.NuGet.Source; 6 | 7 | namespace Cake.Common.Tests.Fixtures.Tools.DotNet.NuGet.Source 8 | { 9 | internal sealed class DotNetNuGetEnableSourceFixture : DotNetNuGetSourcerFixture 10 | { 11 | protected override void RunTool() 12 | { 13 | var tool = new DotNetNuGetSourcer(FileSystem, Environment, ProcessRunner, Tools); 14 | tool.EnableSource(Name, Settings); 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /src/Cake.Common.Tests/Fixtures/Tools/DotNetCore/NuGet/Source/DotNetCoreNuGetListSourceFixture.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Common.Tools.DotNet.NuGet.Source; 6 | 7 | namespace Cake.Common.Tests.Fixtures.Tools.DotNet.NuGet.Source 8 | { 9 | internal sealed class DotNetNuGetListSourceFixture : DotNetNuGetSourcerFixture 10 | { 11 | public string Format { get; set; } 12 | 13 | protected override void RunTool() 14 | { 15 | var tool = new DotNetNuGetSourcer(FileSystem, Environment, ProcessRunner, Tools); 16 | tool.ListSource(Format, Settings); 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /src/Cake.Common.Tests/Fixtures/Tools/DotNetCore/NuGet/Source/DotNetCoreNuGetRemoveSourceFixture.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Common.Tools.DotNet.NuGet.Source; 6 | 7 | namespace Cake.Common.Tests.Fixtures.Tools.DotNet.NuGet.Source 8 | { 9 | internal sealed class DotNetNuGetRemoveSourceFixture : DotNetNuGetSourcerFixture 10 | { 11 | protected override void RunTool() 12 | { 13 | var tool = new DotNetNuGetSourcer(FileSystem, Environment, ProcessRunner, Tools); 14 | tool.RemoveSource(Name, Settings); 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /src/Cake.Common.Tests/Fixtures/Tools/DotNetCore/NuGet/Source/DotNetCoreNuGetSourcerFixture.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Common.Tools.DotNet.NuGet.Source; 6 | 7 | namespace Cake.Common.Tests.Fixtures.Tools.DotNet.NuGet.Source 8 | { 9 | internal abstract class DotNetNuGetSourcerFixture : DotNetFixture 10 | { 11 | public string Name { get; set; } = "name"; 12 | } 13 | } -------------------------------------------------------------------------------- /src/Cake.Common.Tests/Fixtures/Tools/DotNetCore/NuGet/Source/DotNetCoreNuGetUpdateSourceFixture.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Common.Tools.DotNet.NuGet.Source; 6 | 7 | namespace Cake.Common.Tests.Fixtures.Tools.DotNet.NuGet.Source 8 | { 9 | internal sealed class DotNetNuGetUpdateSourceFixture : DotNetNuGetSourcerFixture 10 | { 11 | protected override void RunTool() 12 | { 13 | var tool = new DotNetNuGetSourcer(FileSystem, Environment, ProcessRunner, Tools); 14 | tool.UpdateSource(Name, Settings); 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /src/Cake.Common.Tests/Fixtures/Tools/DotNetCore/Pack/DotNetCorePackerFixture.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Common.Tools.DotNet.Pack; 6 | 7 | namespace Cake.Common.Tests.Fixtures.Tools.DotNet.Pack 8 | { 9 | internal sealed class DotNetPackFixture : DotNetFixture 10 | { 11 | public string Project { get; set; } 12 | 13 | protected override void RunTool() 14 | { 15 | var tool = new DotNetPacker(FileSystem, Environment, ProcessRunner, Tools); 16 | tool.Pack(Project, Settings); 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /src/Cake.Common.Tests/Fixtures/Tools/DotNetCore/Publish/DotNetCorePublisherFixture.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Common.Tools.DotNet.Publish; 6 | 7 | namespace Cake.Common.Tests.Fixtures.Tools.DotNet.Publish 8 | { 9 | internal sealed class DotNetPublisherFixture : DotNetFixture 10 | { 11 | public string Project { get; set; } 12 | 13 | protected override void RunTool() 14 | { 15 | var tool = new DotNetPublisher(FileSystem, Environment, ProcessRunner, Tools); 16 | tool.Publish(Project, Settings); 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /src/Cake.Common.Tests/Fixtures/Tools/DotNetCore/Restore/DotNetCoreRestorerFixture.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Common.Tools.DotNet.Restore; 6 | using Cake.Testing; 7 | 8 | namespace Cake.Common.Tests.Fixtures.Tools.DotNet.Restore 9 | { 10 | internal sealed class DotNetRestorerFixture : DotNetFixture 11 | { 12 | public string Root { get; set; } 13 | 14 | protected override void RunTool() 15 | { 16 | var tool = new DotNetRestorer(FileSystem, Environment, ProcessRunner, Tools, new FakeLog()); 17 | tool.Restore(Root, Settings); 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /src/Cake.Common.Tests/Fixtures/Tools/GitReleaseManagerFixture.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Core.Diagnostics; 6 | using Cake.Core.Tooling; 7 | using Cake.Testing.Fixtures; 8 | using NSubstitute; 9 | 10 | namespace Cake.Common.Tests.Fixtures.Tools 11 | { 12 | internal abstract class GitReleaseManagerFixture : ToolFixture 13 | where TSettings : ToolSettings, new() 14 | { 15 | public ICakeLog Log { get; set; } 16 | 17 | protected GitReleaseManagerFixture() 18 | : base("GitReleaseManager.exe") 19 | { 20 | Log = Substitute.For(); 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /src/Cake.Common.Tests/Fixtures/Tools/InspectCode/InspectCodeFixture.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Common.Tools.InspectCode; 6 | using Cake.Testing.Fixtures; 7 | 8 | namespace Cake.Common.Tests.Fixtures.Tools.InspectCode 9 | { 10 | internal abstract class InspectCodeFixture : ToolFixture 11 | { 12 | protected InspectCodeFixture(bool useX86) 13 | : base(useX86 ? "inspectcode.x86.exe" : "inspectcode.exe") 14 | { 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /src/Cake.Common.Tests/Fixtures/Tools/NuGet/Packer/NuGetPackerWithoutNuSpecFixture.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Common.Tools.NuGet.Pack; 6 | 7 | namespace Cake.Common.Tests.Fixtures.Tools.NuGet.Packer 8 | { 9 | internal sealed class NuGetPackerWithoutNuSpecFixture : NuGetPackerFixture 10 | { 11 | protected override void RunTool() 12 | { 13 | var tool = new NuGetPacker(FileSystem, Environment, ProcessRunner, Log, Tools, Resolver); 14 | tool.Pack(Settings); 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /src/Cake.Common.Tests/Fixtures/Tools/NuGet/Sources/NuGetAddSourceFixture.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Common.Tools.NuGet.Sources; 6 | 7 | namespace Cake.Common.Tests.Fixtures.Tools.NuGet.Sources 8 | { 9 | internal sealed class NuGetAddSourceFixture : NuGetSourcesFixture 10 | { 11 | protected override void RunTool() 12 | { 13 | var tool = new NuGetSources(FileSystem, Environment, ProcessRunner, Tools, Resolver); 14 | tool.AddSource(Name, Source, Settings); 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /src/Cake.Common.Tests/Fixtures/Tools/NuGet/Sources/NuGetHasSourceFixture.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Common.Tools.NuGet.Sources; 6 | 7 | namespace Cake.Common.Tests.Fixtures.Tools.NuGet.Sources 8 | { 9 | internal sealed class NuGetHasSourceFixture : NuGetSourcesFixture 10 | { 11 | protected override void RunTool() 12 | { 13 | var tool = new NuGetSources(FileSystem, Environment, ProcessRunner, Tools, Resolver); 14 | tool.HasSource(Source, Settings); 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /src/Cake.Common.Tests/Fixtures/Tools/NuGet/Sources/NuGetRemoveSourceFixture.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Common.Tools.NuGet.Sources; 6 | 7 | namespace Cake.Common.Tests.Fixtures.Tools.NuGet.Sources 8 | { 9 | internal sealed class NuGetRemoveSourceFixture : NuGetSourcesFixture 10 | { 11 | protected override void RunTool() 12 | { 13 | var tool = new NuGetSources(FileSystem, Environment, ProcessRunner, Tools, Resolver); 14 | tool.RemoveSource(Name, Source, Settings); 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /src/Cake.Common.Tests/Fixtures/Tools/VSWhere/All/VSWhereAllFixture.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Common.Tools.VSWhere.All; 6 | 7 | namespace Cake.Common.Tests.Fixtures.Tools.VSWhere.All 8 | { 9 | internal sealed class VSWhereAllFixture : VSWhereFixture 10 | { 11 | protected override void RunTool() 12 | { 13 | var tool = new VSWhereAll(FileSystem, Environment, ProcessRunner, Tools); 14 | tool.All(Settings); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/Cake.Common.Tests/Fixtures/Tools/VSWhere/Latest/VSWhereLatestFixture.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Common.Tools.VSWhere.Latest; 6 | 7 | namespace Cake.Common.Tests.Fixtures.Tools.VSWhere.Latest 8 | { 9 | internal sealed class VSWhereLatestFixture : VSWhereFixture 10 | { 11 | protected override void RunTool() 12 | { 13 | var tool = new VSWhereLatest(FileSystem, Environment, ProcessRunner, Tools); 14 | tool.Latest(Settings); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/Cake.Common.Tests/Fixtures/Tools/VSWhere/Legacy/VSWhereLegacyFixture.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Common.Tools.VSWhere.Legacy; 6 | 7 | namespace Cake.Common.Tests.Fixtures.Tools.VSWhere.Legacy 8 | { 9 | internal sealed class VSWhereLegacyFixture : VSWhereFixture 10 | { 11 | protected override void RunTool() 12 | { 13 | var tool = new VSWhereLegacy(FileSystem, Environment, ProcessRunner, Tools); 14 | tool.Legacy(Settings); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/Cake.Common.Tests/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using System.Reflection; 6 | using System.Runtime.InteropServices; 7 | 8 | // General Information about an assembly is controlled through the following 9 | // set of attributes. Change these attribute values to modify the information 10 | // associated with an assembly. 11 | [assembly: AssemblyTitle("Cake.Common.Tests")] 12 | 13 | // Setting ComVisible to false makes the types in this assembly not visible 14 | // to COM components. If you need to access a type in this assembly from 15 | // COM, set the ComVisible attribute to true on that type. 16 | [assembly: ComVisible(false)] -------------------------------------------------------------------------------- /src/Cake.Common.Tests/Unit/Tools/Chocolatey/Install/ChocolateyInstallerSettingsTests.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Common.Tools.Chocolatey.Install; 6 | using Xunit; 7 | 8 | namespace Cake.Common.Tests.Unit.Tools.Chocolatey.Install 9 | { 10 | public sealed class ChocolateyInstallerSettingsTests 11 | { 12 | [Fact] 13 | public void Should_Set_Prerelease_To_False_By_Default() 14 | { 15 | // Given, When 16 | var settings = new ChocolateyInstallSettings(); 17 | 18 | // Then 19 | Assert.False(settings.Prerelease); 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /src/Cake.Common.Tests/Unit/Tools/Chocolatey/Upgrade/ChocolateyUpgradeSettingsTests.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Common.Tools.Chocolatey.Upgrade; 6 | using Xunit; 7 | 8 | namespace Cake.Common.Tests.Unit.Tools.Chocolatey.Upgrade 9 | { 10 | public sealed class ChocolateyUpgradeSettingsTests 11 | { 12 | [Fact] 13 | public void Should_Set_Prerelease_To_False_By_Default() 14 | { 15 | // Given, When 16 | var settings = new ChocolateyUpgradeSettings(); 17 | 18 | // Then 19 | Assert.False(settings.Prerelease); 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /src/Cake.Common/Build/AppVeyor/AppVeyorMessageCategoryType.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Common.Build.AppVeyor 6 | { 7 | /// 8 | /// AppVeyor AddMessage categories. 9 | /// 10 | public enum AppVeyorMessageCategoryType 11 | { 12 | /// 13 | /// Informational message 14 | /// 15 | Information, 16 | 17 | /// 18 | /// Warning message 19 | /// 20 | Warning, 21 | 22 | /// 23 | /// Error message 24 | /// 25 | Error 26 | } 27 | } -------------------------------------------------------------------------------- /src/Cake.Common/Build/AzurePipelines/Data/AzurePipelinesCodeCoverageToolType.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Common.Build.AzurePipelines.Data 6 | { 7 | /// 8 | /// Provides the known values for the Code Coverage tool formats. 9 | /// 10 | public enum AzurePipelinesCodeCoverageToolType 11 | { 12 | /// 13 | /// JaCoCo code coverage format 14 | /// 15 | JaCoCo, 16 | 17 | /// 18 | /// Cobertura code coverage format 19 | /// 20 | Cobertura 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/Cake.Common/Build/GitHubActions/Commands/Artifact/CreateArtifactResponse.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using System.Text.Json.Serialization; 6 | 7 | namespace Cake.Common.Build.GitHubActions.Commands.Artifact 8 | { 9 | #pragma warning disable SA1313 // Parameter names should begin with lower-case letter 10 | internal record CreateArtifactResponse( 11 | [property: JsonPropertyName("ok")] 12 | bool Ok, 13 | [property: JsonPropertyName("signed_upload_url")] 14 | string SignedUploadUrl); 15 | #pragma warning restore SA1313 // Parameter names should begin with lower-case letter 16 | } -------------------------------------------------------------------------------- /src/Cake.Common/Build/GitHubActions/Commands/Artifact/FinalizeArtifactResponse.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using System.Text.Json.Serialization; 6 | 7 | namespace Cake.Common.Build.GitHubActions.Commands.Artifact 8 | { 9 | #pragma warning disable SA1313 // Parameter names should begin with lower-case letter 10 | internal record FinalizeArtifactResponse( 11 | [property: JsonPropertyName("ok")] 12 | bool Ok, 13 | [property: JsonPropertyName("artifact_id")] 14 | string ArtifactId); 15 | #pragma warning restore SA1313 // Parameter names should begin with lower-case letter 16 | } -------------------------------------------------------------------------------- /src/Cake.Common/Build/GitHubActions/Commands/Artifact/GetSignedArtifactURLResponse.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using System.Text.Json.Serialization; 6 | namespace Cake.Common.Build.GitHubActions.Commands.Artifact 7 | { 8 | #pragma warning disable SA1313 // Parameter names should begin with lower-case letter 9 | internal record GetSignedArtifactURLResponse( 10 | [property: JsonPropertyName("name")] 11 | string Name, 12 | [property: JsonPropertyName("signed_url")] 13 | string SignedUrl); 14 | #pragma warning restore SA1313 // Parameter names should begin with lower-case letter 15 | } -------------------------------------------------------------------------------- /src/Cake.Common/Build/GitHubActions/Data/GitHubActionsRefType.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Common.Build.GitHubActions.Data 6 | { 7 | /// 8 | /// The GitHub Actions Ref Type. 9 | /// 10 | public enum GitHubActionsRefType 11 | { 12 | /// 13 | /// Unknown. 14 | /// 15 | Unknown, 16 | 17 | /// 18 | /// Branch. 19 | /// 20 | Branch, 21 | 22 | /// 23 | /// Tag. 24 | /// 25 | Tag 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/Cake.Common/IO/CleanDirectorySettings.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Common.IO 6 | { 7 | /// 8 | /// Contains settings used by CleanDirectory. 9 | /// 10 | public class CleanDirectorySettings 11 | { 12 | /// 13 | /// Gets or sets a value indicating whether to clean read-only files if set to true. 14 | /// 15 | /// It is set to false by default. 16 | /// 17 | /// 18 | public bool Force { get; set; } 19 | } 20 | } -------------------------------------------------------------------------------- /src/Cake.Common/IO/EnsureDirectoryDoesNotExistSettings.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Common.IO 6 | { 7 | /// 8 | /// Contains settings used by EnsureDirectoryDoesNotExistSettings. 9 | /// 10 | public class EnsureDirectoryDoesNotExistSettings : DeleteDirectorySettings 11 | { 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/Cake.Common/Modules/CommonModule.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Core.Composition; 6 | 7 | namespace Cake.Common.Modules 8 | { 9 | /// 10 | /// The module responsible for registering 11 | /// default types in the Cake.Common assembly. 12 | /// 13 | public sealed class CommonModule : ICakeModule 14 | { 15 | /// 16 | public void Register(ICakeContainerRegistrar registrar) 17 | { 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src/Cake.Common/Polyfill/XmlTransformationHelper.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using System.Xml; 6 | using System.Xml.Xsl; 7 | 8 | namespace Cake.Common.Polyfill 9 | { 10 | internal static class XmlTransformationHelper 11 | { 12 | public static void Transform(XmlReader xsl, XsltArgumentList arguments, XmlReader xml, XmlWriter result) 13 | { 14 | var xslTransform = new XslCompiledTransform(); 15 | xslTransform.Load(xsl); 16 | xslTransform.Transform(xml, arguments, result); 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/Cake.Common/Polyfill/XmlWriterSettingsHelper.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using System.Xml; 6 | 7 | namespace Cake.Common.Polyfill 8 | { 9 | internal static class XmlWriterSettingsHelper 10 | { 11 | public static bool GetDoNotEscapeUriAttributes(XmlWriterSettings settings) 12 | { 13 | return settings.DoNotEscapeUriAttributes; 14 | } 15 | 16 | public static void SetDoNotEscapeUriAttributes(XmlWriterSettings settings, bool value) 17 | { 18 | settings.DoNotEscapeUriAttributes = value; 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/Cake.Common/Security/IHashAlgorithmBuilder.cs: -------------------------------------------------------------------------------- 1 | namespace Cake.Common.Security 2 | { 3 | /// 4 | /// Creates a instance by 5 | /// . 6 | /// 7 | public interface IHashAlgorithmBuilder 8 | { 9 | /// 10 | /// Return a instance of by 11 | /// enum value. 12 | /// 13 | /// Algorithm enum value. 14 | /// A instance. 15 | System.Security.Cryptography.HashAlgorithm CreateHashAlgorithm(HashAlgorithm hashAlgorithm); 16 | } 17 | } -------------------------------------------------------------------------------- /src/Cake.Common/Tools/Chocolatey/Config/ChocolateyConfigSettings.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Common.Tools.Chocolatey.Config 6 | { 7 | /// 8 | /// Contains settings used by . 9 | /// 10 | public sealed class ChocolateyConfigSettings : ChocolateySettings 11 | { 12 | } 13 | } -------------------------------------------------------------------------------- /src/Cake.Common/Tools/Chocolatey/Features/ChocolateyFeatureSettings.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Common.Tools.Chocolatey.Features 6 | { 7 | /// 8 | /// Contains settings used by . 9 | /// 10 | public sealed class ChocolateyFeatureSettings : ChocolateySettings 11 | { 12 | } 13 | } -------------------------------------------------------------------------------- /src/Cake.Common/Tools/Chocolatey/IChocolateyToolResolver.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Core.IO; 6 | 7 | namespace Cake.Common.Tools.Chocolatey 8 | { 9 | /// 10 | /// Represents a Chocolatey path resolver. 11 | /// 12 | public interface IChocolateyToolResolver 13 | { 14 | /// 15 | /// Resolves the path to choco.exe. 16 | /// 17 | /// The path to choco.exe. 18 | FilePath ResolvePath(); 19 | } 20 | } -------------------------------------------------------------------------------- /src/Cake.Common/Tools/Chocolatey/Pack/ChocolateyNuSpecDependency.cs: -------------------------------------------------------------------------------- 1 | namespace Cake.Common.Tools.Chocolatey.Pack 2 | { 3 | /// 4 | /// Represents a Chocolatey NuGet nuspec dependency. 5 | /// 6 | public class ChocolateyNuSpecDependency 7 | { 8 | /// 9 | /// Gets or sets the dependency's package ID. 10 | /// 11 | /// The dependency's package ID. 12 | public string Id { get; set; } 13 | 14 | /// 15 | /// Gets or sets the dependency's version. 16 | /// 17 | /// The dependency's version. 18 | public string Version { get; set; } 19 | } 20 | } -------------------------------------------------------------------------------- /src/Cake.Common/Tools/DotCover/Cover/DotCoverCoverSettings.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Common.Tools.DotCover.Cover 6 | { 7 | /// 8 | /// Contains settings used by . 9 | /// 10 | public sealed class DotCoverCoverSettings : DotCoverCoverageSettings 11 | { 12 | } 13 | } -------------------------------------------------------------------------------- /src/Cake.Common/Tools/DotCover/Merge/DotCoverMergeSettings.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Common.Tools.DotCover.Merge 6 | { 7 | /// 8 | /// Contains settings used by . 9 | /// 10 | public sealed class DotCoverMergeSettings : DotCoverSettings 11 | { 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/Cake.Common/Tools/DotCover/Report/DotCoverReportSettings.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Common.Tools.DotCover.Report 6 | { 7 | /// 8 | /// Contains settings used by . 9 | /// 10 | public sealed class DotCoverReportSettings : DotCoverSettings 11 | { 12 | /// 13 | /// Gets or sets the type of the report. 14 | /// This represents the /ReportType option. 15 | /// The Default value is . 16 | /// 17 | public DotCoverReportType ReportType { get; set; } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/Cake.Common/Tools/DotNet/BuildServer/DotNetBuildServerSettings.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Common.Tools.DotNet.BuildServer 6 | { 7 | /// 8 | /// Contains settings used by . 9 | /// 10 | public abstract class DotNetBuildServerSettings : DotNetSettings 11 | { 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/Cake.Common/Tools/DotNet/Execute/DotNetExecuteSettings.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Common.Tools.DotNet.Execute 6 | { 7 | /// 8 | /// Contains settings used by . 9 | /// 10 | public class DotNetExecuteSettings : DotNetSettings 11 | { 12 | /// 13 | /// Gets or sets the version of the installed Shared Framework to use to run the application. 14 | /// 15 | public string FrameworkVersion { get; set; } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/Cake.Common/Tools/DotNet/Format/DotNetFormatSeverity.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Common.Tools.DotNet.Format 6 | { 7 | /// 8 | /// Severity of dotnet format. 9 | /// 10 | public enum DotNetFormatSeverity 11 | { 12 | /// 13 | /// Information 14 | /// 15 | Info, 16 | 17 | /// 18 | /// Warning 19 | /// 20 | Warning, 21 | 22 | /// 23 | /// Error 24 | /// 25 | Error 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/Cake.Common/Tools/DotNet/NuGet/Source/DotNetNuGetAddSourceSettings.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Common.Tools.DotNet.NuGet.Source 6 | { 7 | /// 8 | /// Contains settings used by for adding new sources. 9 | /// 10 | public class DotNetNuGetAddSourceSettings : DotNetNuGetSourceSettings 11 | { 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/Cake.Common/Tools/DotNet/NuGet/Source/DotNetNuGetDisableSourceSettings.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Common.Tools.DotNet.NuGet.Source 6 | { 7 | /// 8 | /// Contains settings used by for disabling NuGet sources. 9 | /// 10 | public class DotNetNuGetDisableSourceSettings : DotNetNuGetSourceSettings 11 | { 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/Cake.Common/Tools/DotNet/NuGet/Source/DotNetNuGetEnableSourceSettings.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Common.Tools.DotNet.NuGet.Source 6 | { 7 | /// 8 | /// Contains settings used by for enabling a NuGet source. 9 | /// 10 | public class DotNetNuGetEnableSourceSettings : DotNetNuGetSourceSettings 11 | { 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/Cake.Common/Tools/DotNet/NuGet/Source/DotNetNuGetHasSourceSettings.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Common.Tools.DotNet.NuGet.Source 6 | { 7 | /// 8 | /// Contains settings used by for checking if a NuGet source exists. 9 | /// 10 | public class DotNetNuGetHasSourceSettings : DotNetNuGetSourceSettings 11 | { 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/Cake.Common/Tools/DotNet/NuGet/Source/DotNetNuGetListSourceSettings.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Common.Tools.DotNet.NuGet.Source 6 | { 7 | /// 8 | /// Contains settings used by for listing NuGet sources. 9 | /// 10 | public class DotNetNuGetListSourceSettings : DotNetNuGetSourceSettings 11 | { 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/Cake.Common/Tools/DotNet/NuGet/Source/DotNetNuGetRemoveSourceSettings.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Common.Tools.DotNet.NuGet.Source 6 | { 7 | /// 8 | /// Contains settings used by for removing a NuGet source. 9 | /// 10 | public class DotNetNuGetRemoveSourceSettings : DotNetNuGetSourceSettings 11 | { 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/Cake.Common/Tools/DotNet/NuGet/Source/DotNetNuGetUpdateSourceSettings.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Common.Tools.DotNet.NuGet.Source 6 | { 7 | /// 8 | /// Contains settings used by for updating a NuGet source. 9 | /// 10 | public class DotNetNuGetUpdateSourceSettings : DotNetNuGetSourceSettings 11 | { 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/Cake.Common/Tools/DotNet/Package/List/DotNetPackageListProblemType.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Common.Tools.DotNet.Package.List 6 | { 7 | /// 8 | /// The problem types. 9 | /// 10 | public enum DotNetPackageListProblemType 11 | { 12 | /// 13 | /// Warning. 14 | /// 15 | Warning, 16 | 17 | /// 18 | /// Error. 19 | /// 20 | Error 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/Cake.Common/Tools/DotNet/Package/Remove/DotNetPackageRemoveSettings.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Common.Tools.DotNet.Package.Remove 6 | { 7 | /// 8 | /// Contains settings used by . 9 | /// 10 | public sealed class DotNetPackageRemoveSettings : DotNetSettings 11 | { 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/Cake.Common/Tools/DotNet/Reference/List/DotNetReferenceListSettings.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Common.Tools.DotNet.Reference.List 6 | { 7 | /// 8 | /// Contains settings used by . 9 | /// 10 | public sealed class DotNetReferenceListSettings : DotNetSettings 11 | { 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/Cake.Common/Tools/DotNet/Reference/Remove/DotNetReferenceRemoveSettings.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Common.Tools.DotNet.Reference.Remove 6 | { 7 | /// 8 | /// Contains settings used by . 9 | /// 10 | public sealed class DotNetReferenceRemoveSettings : DotNetSettings 11 | { 12 | /// 13 | /// Gets or sets a specific framework. 14 | /// 15 | public string Framework { get; set; } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/Cake.Common/Tools/DotNet/SDKCheck/DotNetSDKCheckSettings.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Common.Tools.DotNet.SDKCheck 6 | { 7 | /// 8 | /// Contains settings used by . 9 | /// 10 | public sealed class DotNetSDKCheckSettings : DotNetSettings 11 | { 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/Cake.Common/Tools/DotNet/Sln/List/DotNetSlnListSettings.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Common.Tools.DotNet.Sln.List 6 | { 7 | /// 8 | /// Contains settings used by . 9 | /// 10 | public sealed class DotNetSlnListSettings : DotNetSettings 11 | { 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/Cake.Common/Tools/DotNet/Sln/Remove/DotNetSlnRemoveSettings.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Common.Tools.DotNet.Sln.Remove 6 | { 7 | /// 8 | /// Contains settings used by . 9 | /// 10 | public sealed class DotNetSlnRemoveSettings : DotNetSettings 11 | { 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/Cake.Common/Tools/DotNet/Tool/DotNetToolSettings.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Common.Tools.DotNet.Tool 6 | { 7 | /// 8 | /// Contains settings used by . 9 | /// 10 | public class DotNetToolSettings : DotNetSettings 11 | { 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/Cake.Common/Tools/DotNet/Workload/List/DotNetWorkloadListSettings.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Common.Tools.DotNet.Workload.List 6 | { 7 | /// 8 | /// Contains settings used by . 9 | /// 10 | public sealed class DotNetWorkloadListSettings : DotNetSettings 11 | { 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/Cake.Common/Tools/DotNet/Workload/Search/DotNetWorkloadSearchSettings.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Common.Tools.DotNet.Workload.Search 6 | { 7 | /// 8 | /// Contains settings used by . 9 | /// 10 | public sealed class DotNetWorkloadSearchSettings : DotNetSettings 11 | { 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/Cake.Common/Tools/DotNet/Workload/Uninstall/DotNetWorkloadUninstallSettings.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Common.Tools.DotNet.Workload.Uninstall 6 | { 7 | /// 8 | /// Contains settings used by . 9 | /// 10 | public sealed class DotNetWorkloadUninstallSettings : DotNetSettings 11 | { 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/Cake.Common/Tools/GitReleaseManager/AddAssets/GitReleaseManagerAddAssetsSettings.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Common.Tools.GitReleaseManager.AddAssets 6 | { 7 | /// 8 | /// Contains settings used by . 9 | /// 10 | public sealed class GitReleaseManagerAddAssetsSettings : GitReleaseManagerSettings 11 | { 12 | } 13 | } -------------------------------------------------------------------------------- /src/Cake.Common/Tools/GitReleaseManager/Close/GitReleaseManagerCloseMilestoneSettings.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Common.Tools.GitReleaseManager.Close 6 | { 7 | /// 8 | /// Contains settings used by . 9 | /// 10 | public sealed class GitReleaseManagerCloseMilestoneSettings : GitReleaseManagerSettings 11 | { 12 | } 13 | } -------------------------------------------------------------------------------- /src/Cake.Common/Tools/GitReleaseManager/Discard/GitReleaseManagerDiscardSettings.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Common.Tools.GitReleaseManager.Discard 6 | { 7 | /// 8 | /// Contains settings used by . 9 | /// 10 | public sealed class GitReleaseManagerDiscardSettings : GitReleaseManagerSettings 11 | { 12 | } 13 | } -------------------------------------------------------------------------------- /src/Cake.Common/Tools/GitReleaseManager/Export/GitReleaseManagerExportSettings.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Common.Tools.GitReleaseManager.Export 6 | { 7 | /// 8 | /// Contains settings used by . 9 | /// 10 | public sealed class GitReleaseManagerExportSettings : GitReleaseManagerSettings 11 | { 12 | /// 13 | /// Gets or sets the tag name to be used when exporting the release notes. 14 | /// 15 | public string TagName { get; set; } 16 | } 17 | } -------------------------------------------------------------------------------- /src/Cake.Common/Tools/GitReleaseManager/Label/GitReleaseManagerLabelSettings.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Common.Tools.GitReleaseManager.Label 6 | { 7 | /// 8 | /// Contains settings used by . 9 | /// 10 | public class GitReleaseManagerLabelSettings : GitReleaseManagerSettings 11 | { 12 | } 13 | } -------------------------------------------------------------------------------- /src/Cake.Common/Tools/GitReleaseManager/Open/GitReleaseManagerOpenMilestoneSettings.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Common.Tools.GitReleaseManager.Open 6 | { 7 | /// 8 | /// Contains settings used by . 9 | /// 10 | public sealed class GitReleaseManagerOpenMilestoneSettings : GitReleaseManagerSettings 11 | { 12 | } 13 | } -------------------------------------------------------------------------------- /src/Cake.Common/Tools/GitReleaseManager/Publish/GitReleaseManagerPublishSettings.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Common.Tools.GitReleaseManager.Publish 6 | { 7 | /// 8 | /// Contains settings used by . 9 | /// 10 | public sealed class GitReleaseManagerPublishSettings : GitReleaseManagerSettings 11 | { 12 | } 13 | } -------------------------------------------------------------------------------- /src/Cake.Common/Tools/InnoSetup/InnoSetupVersion.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Common.Tools.InnoSetup 6 | { 7 | /// 8 | /// Represents the supported major versions of Inno Setup. 9 | /// 10 | public enum InnoSetupVersion 11 | { 12 | /// Version 5.x 13 | InnoSetup5 = 5, 14 | 15 | /// Version 6.x 16 | InnoSetup6 = 6 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/Cake.Common/Tools/MSBuild/MSBuildFileLoggerOutput.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Common.Tools.MSBuild 6 | { 7 | /// 8 | /// The type of file logger output to generate. 9 | /// 10 | public enum MSBuildFileLoggerOutput 11 | { 12 | /// 13 | /// Show errors and warnings. 14 | /// 15 | All = 0, 16 | 17 | /// 18 | /// Show errors only. 19 | /// 20 | ErrorsOnly = 1, 21 | 22 | /// 23 | /// Show warnings only. 24 | /// 25 | WarningsOnly = 2, 26 | } 27 | } -------------------------------------------------------------------------------- /src/Cake.Common/Tools/NuGet/List/NuGetListItem.cs: -------------------------------------------------------------------------------- 1 | namespace Cake.Common.Tools.NuGet.List 2 | { 3 | /// 4 | /// An item as returned by . 5 | /// 6 | public sealed class NuGetListItem 7 | { 8 | /// 9 | /// Gets or sets the name of the NuGetListItem. 10 | /// 11 | public string Name { get; set; } 12 | 13 | /// 14 | /// Gets or sets the version of the NuGetListItem as string. 15 | /// 16 | public string Version { get; set; } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /src/Cake.Common/Tools/NuGet/NuGetVerbosity.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Common.Tools.NuGet 6 | { 7 | /// 8 | /// Represents NuGet verbosity. 9 | /// 10 | public enum NuGetVerbosity 11 | { 12 | /// 13 | /// Verbosity: Normal 14 | /// 15 | Normal = 1, 16 | 17 | /// 18 | /// Verbosity: Quiet 19 | /// 20 | Quiet = 2, 21 | 22 | /// 23 | /// Verbosity: Detailed 24 | /// 25 | Detailed = 4 26 | } 27 | } -------------------------------------------------------------------------------- /src/Cake.Common/Tools/OctopusDeploy/OctopusPackFormat.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Common.Tools.OctopusDeploy 6 | { 7 | /// 8 | /// Represents the format of an Octopus package. 9 | /// 10 | public enum OctopusPackFormat 11 | { 12 | /// 13 | /// NuGet package 14 | /// 15 | NuPkg, 16 | 17 | /// 18 | /// Zip package 19 | /// 20 | Zip 21 | } 22 | } -------------------------------------------------------------------------------- /src/Cake.Common/Tools/OctopusDeploy/OctopusPushSettings.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Common.Tools.OctopusDeploy 6 | { 7 | /// 8 | /// Contains settings used by . 9 | /// 10 | public sealed class OctopusPushSettings : OctopusDeployCommonToolSettings 11 | { 12 | /// 13 | /// Gets or sets a value indicating whether to overwrite an existing package. 14 | /// 15 | public bool ReplaceExisting { get; set; } 16 | } 17 | } -------------------------------------------------------------------------------- /src/Cake.Common/Tools/ReportUnit/ReportUnitSettings.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Core.Tooling; 6 | 7 | namespace Cake.Common.Tools.ReportUnit 8 | { 9 | /// 10 | /// Contains settings used by . 11 | /// 12 | public sealed class ReportUnitSettings : ToolSettings 13 | { 14 | } 15 | } -------------------------------------------------------------------------------- /src/Cake.Common/Tools/Roundhouse/RecoveryMode.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Common.Tools.Roundhouse 6 | { 7 | /// 8 | /// Defines the recovery model for SQL Server. 9 | /// 10 | public enum RecoveryMode 11 | { 12 | /// 13 | /// Doesn't change the mode 14 | /// 15 | NoChange, 16 | 17 | /// 18 | /// Does not create backup before migration 19 | /// 20 | Simple, 21 | 22 | /// 23 | /// Creates log backup before migration 24 | /// 25 | Full 26 | } 27 | } -------------------------------------------------------------------------------- /src/Cake.Common/Tools/SignTool/SignToolDigestAlgorithm.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Common.Tools.SignTool 6 | { 7 | /// 8 | /// Digest algorithm for SignTool. 9 | /// 10 | public enum SignToolDigestAlgorithm 11 | { 12 | /// 13 | /// SHA-1 digest algorithm 14 | /// 15 | Sha1, 16 | 17 | /// 18 | /// SHA-256 digest algorithm. 19 | /// 20 | Sha256 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/Cake.Common/Tools/VSWhere/All/VSWhereAllSettings.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Common.Tools.VSWhere.All 6 | { 7 | /// 8 | /// Contains settings used by . 9 | /// 10 | public class VSWhereAllSettings : VSWhereSettings 11 | { 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/Cake.Common/Tools/VSWhere/Latest/VSWhereLatestSettings.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Common.Tools.VSWhere.Latest 6 | { 7 | /// 8 | /// Contains settings used by . 9 | /// 10 | public sealed class VSWhereLatestSettings : VSWhereSettings 11 | { 12 | /// 13 | /// Gets or sets the products to find. Defaults to Community, Professional, and Enterprise. Specify "*" by itself to search all product instances installed. 14 | /// 15 | public string Products { get; set; } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/Cake.Common/Tools/VSWhere/Product/VSWhereProductSettings.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Common.Tools.VSWhere.Product 6 | { 7 | /// 8 | /// Contains settings used by . 9 | /// 10 | public sealed class VSWhereProductSettings : VSWhereSettings 11 | { 12 | /// 13 | /// Gets or sets the products to find. Defaults to Community, Professional, and Enterprise. Specify "*" by itself to search all product instances installed. 14 | /// 15 | internal string Products { get; set; } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/Cake.Common/Tools/WiX/Architecture.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Common.Tools.WiX 6 | { 7 | /// 8 | /// The architecture for the package. 9 | /// 10 | public enum Architecture 11 | { 12 | /// 13 | /// Architecture: x86_64 14 | /// 15 | X64, 16 | 17 | /// 18 | /// Architecture: x86 19 | /// 20 | X86, 21 | 22 | /// 23 | /// Architecture: Itanium 24 | /// 25 | IA64 26 | } 27 | } -------------------------------------------------------------------------------- /src/Cake.Common/Tools/WiX/Heat/WiXTemplateType.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Common.Tools.WiX.Heat 6 | { 7 | /// 8 | /// Template type to use for harvesting. 9 | /// 10 | public enum WiXTemplateType 11 | { 12 | /// 13 | /// TemplateType: Fragment 14 | /// 15 | Fragment = 0, 16 | 17 | /// 18 | /// TemplateType: Module 19 | /// 20 | Module = 1, 21 | 22 | /// 23 | /// TemplateType: Product 24 | /// 25 | Product = 2 26 | } 27 | } -------------------------------------------------------------------------------- /src/Cake.Common/Tools/XBuild/XBuildVersion.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Common.Tools.XBuild 6 | { 7 | internal enum XBuildVersion 8 | { 9 | XBuild20 = 1, 10 | XBuild35 = 2, 11 | XBuild45 = 3 12 | } 13 | } -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Expectations/MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Generic_Methods_name=Generic_ExtensionMethod.verified.cake: -------------------------------------------------------------------------------- 1 | [System.Diagnostics.DebuggerStepThrough] 2 | public void Generic_ExtensionMethod() 3 | => Cake.Core.Tests.Data.MethodAliasGeneratorData.Generic_ExtensionMethod(Context); -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Expectations/MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Generic_Methods_name=Generic_ExtensionMethodWithGenericReturnValue.verified.cake: -------------------------------------------------------------------------------- 1 | [System.Diagnostics.DebuggerStepThrough] 2 | public TTest Generic_ExtensionMethodWithGenericReturnValue(TTest value) 3 | => Cake.Core.Tests.Data.MethodAliasGeneratorData.Generic_ExtensionMethodWithGenericReturnValue(Context, value); -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Expectations/MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Generic_Methods_name=Generic_ExtensionMethodWithGenericReturnValueAndTypeParamConstraints.verified.cake: -------------------------------------------------------------------------------- 1 | [System.Diagnostics.DebuggerStepThrough] 2 | public TOut Generic_ExtensionMethodWithGenericReturnValueAndTypeParamConstraints(TIn arg) 3 | where TIn : class, new() 4 | where TOut : System.Collections.ArrayList, System.IDisposable 5 | => Cake.Core.Tests.Data.MethodAliasGeneratorData.Generic_ExtensionMethodWithGenericReturnValueAndTypeParamConstraints(Context, arg); -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Expectations/MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Generic_Methods_name=Generic_ExtensionMethodWithParameter.verified.cake: -------------------------------------------------------------------------------- 1 | [System.Diagnostics.DebuggerStepThrough] 2 | public void Generic_ExtensionMethodWithParameter(TTest value) 3 | => Cake.Core.Tests.Data.MethodAliasGeneratorData.Generic_ExtensionMethodWithParameter(Context, value); -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Expectations/MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithDynamicReturnValue.verified.cake: -------------------------------------------------------------------------------- 1 | [System.Diagnostics.DebuggerStepThrough] 2 | public dynamic NonGeneric_ExtensionMethodWithDynamicReturnValue() 3 | => Cake.Core.Tests.Data.MethodAliasGeneratorData.NonGeneric_ExtensionMethodWithDynamicReturnValue(Context); -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Expectations/MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithGenericCollectionOfNestedType.verified.cake: -------------------------------------------------------------------------------- 1 | [System.Diagnostics.DebuggerStepThrough] 2 | public void NonGeneric_ExtensionMethodWithGenericCollectionOfNestedType(System.Collections.Generic.ICollection items) 3 | => Cake.Core.Tests.Data.MethodAliasGeneratorData.NonGeneric_ExtensionMethodWithGenericCollectionOfNestedType(Context, items); -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Expectations/MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithGenericExpressionArrayParameter.verified.cake: -------------------------------------------------------------------------------- 1 | [System.Diagnostics.DebuggerStepThrough] 2 | public void NonGeneric_ExtensionMethodWithGenericExpressionArrayParameter(System.Linq.Expressions.Expression>[] expression) 3 | => Cake.Core.Tests.Data.MethodAliasGeneratorData.NonGeneric_ExtensionMethodWithGenericExpressionArrayParameter(Context, expression); -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Expectations/MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithGenericExpressionParameter.verified.cake: -------------------------------------------------------------------------------- 1 | [System.Diagnostics.DebuggerStepThrough] 2 | public void NonGeneric_ExtensionMethodWithGenericExpressionParameter(System.Linq.Expressions.Expression> expression) 3 | => Cake.Core.Tests.Data.MethodAliasGeneratorData.NonGeneric_ExtensionMethodWithGenericExpressionParameter(Context, expression); -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Expectations/MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithGenericExpressionParamsArrayParameter.verified.cake: -------------------------------------------------------------------------------- 1 | [System.Diagnostics.DebuggerStepThrough] 2 | public void NonGeneric_ExtensionMethodWithGenericExpressionParamsArrayParameter(params System.Linq.Expressions.Expression>[] expression) 3 | => Cake.Core.Tests.Data.MethodAliasGeneratorData.NonGeneric_ExtensionMethodWithGenericExpressionParamsArrayParameter(Context, expression); -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Expectations/MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithGenericParameter.verified.cake: -------------------------------------------------------------------------------- 1 | [System.Diagnostics.DebuggerStepThrough] 2 | public void NonGeneric_ExtensionMethodWithGenericParameter(System.Action value) 3 | => Cake.Core.Tests.Data.MethodAliasGeneratorData.NonGeneric_ExtensionMethodWithGenericParameter(Context, value); -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Expectations/MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithNoParameters.verified.cake: -------------------------------------------------------------------------------- 1 | [System.Diagnostics.DebuggerStepThrough] 2 | public void NonGeneric_ExtensionMethodWithNoParameters() 3 | => Cake.Core.Tests.Data.MethodAliasGeneratorData.NonGeneric_ExtensionMethodWithNoParameters(Context); -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Expectations/MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithNullableParameter.verified.cake: -------------------------------------------------------------------------------- 1 | [System.Diagnostics.DebuggerStepThrough] 2 | public void NonGeneric_ExtensionMethodWithNullableParameter(System.String? parameter) 3 | => Cake.Core.Tests.Data.MethodAliasGeneratorData.NonGeneric_ExtensionMethodWithNullableParameter(Context, parameter); -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Expectations/MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithNullableReturnValue.verified.cake: -------------------------------------------------------------------------------- 1 | [System.Diagnostics.DebuggerStepThrough] 2 | public System.String? NonGeneric_ExtensionMethodWithNullableReturnValue() 3 | => Cake.Core.Tests.Data.MethodAliasGeneratorData.NonGeneric_ExtensionMethodWithNullableReturnValue(Context); -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Expectations/MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithOptionalBooleanParameter.verified.cake: -------------------------------------------------------------------------------- 1 | [System.Diagnostics.DebuggerStepThrough] 2 | public void NonGeneric_ExtensionMethodWithOptionalBooleanParameter(System.Int32 value, System.Boolean flag = false) 3 | => Cake.Core.Tests.Data.MethodAliasGeneratorData.NonGeneric_ExtensionMethodWithOptionalBooleanParameter(Context, value, flag); -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Expectations/MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithOptionalCharParameter.verified.cake: -------------------------------------------------------------------------------- 1 | [System.Diagnostics.DebuggerStepThrough] 2 | public void NonGeneric_ExtensionMethodWithOptionalCharParameter(System.String s, System.Char c = 's') 3 | => Cake.Core.Tests.Data.MethodAliasGeneratorData.NonGeneric_ExtensionMethodWithOptionalCharParameter(Context, s, c); -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Expectations/MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithOptionalDecimalParameter.verified.cake: -------------------------------------------------------------------------------- 1 | [System.Diagnostics.DebuggerStepThrough] 2 | public void NonGeneric_ExtensionMethodWithOptionalDecimalParameter(System.String s, System.Decimal value = (System.Decimal)12.12) 3 | => Cake.Core.Tests.Data.MethodAliasGeneratorData.NonGeneric_ExtensionMethodWithOptionalDecimalParameter(Context, s, value); -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Expectations/MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithOptionalEnumParameter.verified.cake: -------------------------------------------------------------------------------- 1 | [System.Diagnostics.DebuggerStepThrough] 2 | public void NonGeneric_ExtensionMethodWithOptionalEnumParameter(System.Int32 value, System.AttributeTargets targets = (System.AttributeTargets)4) 3 | => Cake.Core.Tests.Data.MethodAliasGeneratorData.NonGeneric_ExtensionMethodWithOptionalEnumParameter(Context, value, targets); -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Expectations/MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithOptionalNullableBooleanParameter.verified.cake: -------------------------------------------------------------------------------- 1 | [System.Diagnostics.DebuggerStepThrough] 2 | public void NonGeneric_ExtensionMethodWithOptionalNullableBooleanParameter(System.String s, System.Nullable value = (System.Boolean)false) 3 | => Cake.Core.Tests.Data.MethodAliasGeneratorData.NonGeneric_ExtensionMethodWithOptionalNullableBooleanParameter(Context, s, value); -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Expectations/MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithOptionalNullableCharParameter.verified.cake: -------------------------------------------------------------------------------- 1 | [System.Diagnostics.DebuggerStepThrough] 2 | public void NonGeneric_ExtensionMethodWithOptionalNullableCharParameter(System.String s, System.Nullable value = (System.Char)'s') 3 | => Cake.Core.Tests.Data.MethodAliasGeneratorData.NonGeneric_ExtensionMethodWithOptionalNullableCharParameter(Context, s, value); -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Expectations/MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithOptionalNullableDecimalParameter.verified.cake: -------------------------------------------------------------------------------- 1 | [System.Diagnostics.DebuggerStepThrough] 2 | public void NonGeneric_ExtensionMethodWithOptionalNullableDecimalParameter(System.String s, System.Nullable value = (System.Decimal)123.12) 3 | => Cake.Core.Tests.Data.MethodAliasGeneratorData.NonGeneric_ExtensionMethodWithOptionalNullableDecimalParameter(Context, s, value); -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Expectations/MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithOptionalNullableDoubleParameter.verified.cake: -------------------------------------------------------------------------------- 1 | [System.Diagnostics.DebuggerStepThrough] 2 | public void NonGeneric_ExtensionMethodWithOptionalNullableDoubleParameter(System.String s, System.Nullable value = (System.Double)1234567890.12) 3 | => Cake.Core.Tests.Data.MethodAliasGeneratorData.NonGeneric_ExtensionMethodWithOptionalNullableDoubleParameter(Context, s, value); -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Expectations/MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithOptionalNullableEnumParameter.verified.cake: -------------------------------------------------------------------------------- 1 | [System.Diagnostics.DebuggerStepThrough] 2 | public void NonGeneric_ExtensionMethodWithOptionalNullableEnumParameter(System.String s, System.Nullable targets = (System.AttributeTargets)4) 3 | => Cake.Core.Tests.Data.MethodAliasGeneratorData.NonGeneric_ExtensionMethodWithOptionalNullableEnumParameter(Context, s, targets); -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Expectations/MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithOptionalNullableLongParameter.verified.cake: -------------------------------------------------------------------------------- 1 | [System.Diagnostics.DebuggerStepThrough] 2 | public void NonGeneric_ExtensionMethodWithOptionalNullableLongParameter(System.String s, System.Nullable value = (System.Int64)1234567890) 3 | => Cake.Core.Tests.Data.MethodAliasGeneratorData.NonGeneric_ExtensionMethodWithOptionalNullableLongParameter(Context, s, value); -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Expectations/MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithOptionalNullableTParameter.verified.cake: -------------------------------------------------------------------------------- 1 | [System.Diagnostics.DebuggerStepThrough] 2 | public void NonGeneric_ExtensionMethodWithOptionalNullableTParameter(System.String s, System.Nullable value = (System.Int32)0) 3 | => Cake.Core.Tests.Data.MethodAliasGeneratorData.NonGeneric_ExtensionMethodWithOptionalNullableTParameter(Context, s, value); -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Expectations/MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithOptionalObjectParameter.verified.cake: -------------------------------------------------------------------------------- 1 | [System.Diagnostics.DebuggerStepThrough] 2 | public void NonGeneric_ExtensionMethodWithOptionalObjectParameter(System.Int32 value, System.Object option = null) 3 | => Cake.Core.Tests.Data.MethodAliasGeneratorData.NonGeneric_ExtensionMethodWithOptionalObjectParameter(Context, value, option); -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Expectations/MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithOptionalStringParameter.verified.cake: -------------------------------------------------------------------------------- 1 | [System.Diagnostics.DebuggerStepThrough] 2 | public void NonGeneric_ExtensionMethodWithOptionalStringParameter(System.Int32 value, System.String s = "there is a \"string\" here and a \t tab") 3 | => Cake.Core.Tests.Data.MethodAliasGeneratorData.NonGeneric_ExtensionMethodWithOptionalStringParameter(Context, value, s); -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Expectations/MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithOutputParameter.verified.cake: -------------------------------------------------------------------------------- 1 | [System.Diagnostics.DebuggerStepThrough] 2 | public void NonGeneric_ExtensionMethodWithOutputParameter(out System.IDisposable arg) 3 | => Cake.Core.Tests.Data.MethodAliasGeneratorData.NonGeneric_ExtensionMethodWithOutputParameter(Context, out arg); -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Expectations/MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithParameter.verified.cake: -------------------------------------------------------------------------------- 1 | [System.Diagnostics.DebuggerStepThrough] 2 | public void NonGeneric_ExtensionMethodWithParameter(System.Int32 value) 3 | => Cake.Core.Tests.Data.MethodAliasGeneratorData.NonGeneric_ExtensionMethodWithParameter(Context, value); -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Expectations/MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithParameterArray.verified.cake: -------------------------------------------------------------------------------- 1 | [System.Diagnostics.DebuggerStepThrough] 2 | public void NonGeneric_ExtensionMethodWithParameterArray(params System.Int32[] values) 3 | => Cake.Core.Tests.Data.MethodAliasGeneratorData.NonGeneric_ExtensionMethodWithParameterArray(Context, values); -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Expectations/MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithParameterAttributes.verified.cake: -------------------------------------------------------------------------------- 1 | [System.Diagnostics.DebuggerStepThrough] 2 | public void NonGeneric_ExtensionMethodWithParameterAttributes([System.Runtime.CompilerServices.CallerMemberName] System.String memberName = "", [System.Runtime.CompilerServices.CallerFilePath] System.String sourceFilePath = "", [System.Runtime.CompilerServices.CallerLineNumber] System.Int32 sourceLineNumber = (System.Int32)0) 3 | => Cake.Core.Tests.Data.MethodAliasGeneratorData.NonGeneric_ExtensionMethodWithParameterAttributes(Context, memberName, sourceFilePath, sourceLineNumber); -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Expectations/MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithReservedKeywordParameter.verified.cake: -------------------------------------------------------------------------------- 1 | [System.Diagnostics.DebuggerStepThrough] 2 | public void NonGeneric_ExtensionMethodWithReservedKeywordParameter(System.Int32 @new) 3 | => Cake.Core.Tests.Data.MethodAliasGeneratorData.NonGeneric_ExtensionMethodWithReservedKeywordParameter(Context, @new); -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Expectations/MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Non_Generic_Methods_name=ExtensionMethodWithReturnValue.verified.cake: -------------------------------------------------------------------------------- 1 | [System.Diagnostics.DebuggerStepThrough] 2 | public System.String NonGeneric_ExtensionMethodWithReturnValue() 3 | => Cake.Core.Tests.Data.MethodAliasGeneratorData.NonGeneric_ExtensionMethodWithReturnValue(Context); -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Expectations/MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Obsolete_Methods_name=Obsolete_ExplicitError_WithMessage.verified.cake: -------------------------------------------------------------------------------- 1 | [System.Diagnostics.DebuggerStepThrough] 2 | public void Obsolete_ExplicitError_WithMessage() 3 | => throw new Cake.Core.CakeException("The alias Obsolete_ExplicitError_WithMessage has been made obsolete. Please use Foo.Bar instead."); -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Expectations/MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Obsolete_Methods_name=Obsolete_ExplicitWarning_WithMessage.verified.cake: -------------------------------------------------------------------------------- 1 | [System.Diagnostics.DebuggerStepThrough] 2 | public void Obsolete_ExplicitWarning_WithMessage() 3 | #pragma warning disable 0618 4 | => Cake.Core.Tests.Data.MethodAliasGeneratorData.Obsolete_ExplicitWarning_WithMessage(Context); 5 | #pragma warning restore 0618 -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Expectations/MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Obsolete_Methods_name=Obsolete_ImplicitWarning_NoMessage.verified.cake: -------------------------------------------------------------------------------- 1 | [System.Diagnostics.DebuggerStepThrough] 2 | public void Obsolete_ImplicitWarning_NoMessage() 3 | #pragma warning disable 0618 4 | => Cake.Core.Tests.Data.MethodAliasGeneratorData.Obsolete_ImplicitWarning_NoMessage(Context); 5 | #pragma warning restore 0618 -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Expectations/MethodAliasGeneratorTests.TheGeneratorMethod.Should_Return_Correct_Generated_Code_For_Obsolete_Methods_name=Obsolete_ImplicitWarning_WithMessage.verified.cake: -------------------------------------------------------------------------------- 1 | [System.Diagnostics.DebuggerStepThrough] 2 | public void Obsolete_ImplicitWarning_WithMessage() 3 | #pragma warning disable 0618 4 | => Cake.Core.Tests.Data.MethodAliasGeneratorData.Obsolete_ImplicitWarning_WithMessage(Context); 5 | #pragma warning restore 0618 -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Expectations/PropertyAliasGeneratorTests.TheGenerateMethod.Should_Return_Correct_Generated_Code_For_Cached_Obsolete_Properties_name=Cached_Obsolete_ExplicitError_WithMessage.verified.cake: -------------------------------------------------------------------------------- 1 | [Obsolete("Please use Foo.Bar instead.", true)] 2 | public System.Int32 Cached_Obsolete_ExplicitError_WithMessage 3 | #pragma warning disable CS0618 4 | => Cake.Core.Tests.Data.PropertyAliasGeneratorData.Cached_Obsolete_ExplicitError_WithMessage(Context); 5 | #pragma warning restore CS0618 -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Expectations/PropertyAliasGeneratorTests.TheGenerateMethod.Should_Return_Correct_Generated_Code_For_Cached_Obsolete_Properties_name=Cached_Obsolete_ExplicitWarning_WithMessage.verified.cake: -------------------------------------------------------------------------------- 1 | private System.Int32? _Cached_Obsolete_ExplicitWarning_WithMessage; 2 | [Obsolete("Please use Foo.Bar instead.", false)] 3 | public System.Int32 Cached_Obsolete_ExplicitWarning_WithMessage 4 | #pragma warning disable CS0618 5 | => _Cached_Obsolete_ExplicitWarning_WithMessage ??= Cake.Core.Tests.Data.PropertyAliasGeneratorData.Cached_Obsolete_ExplicitWarning_WithMessage(Context); 6 | #pragma warning restore CS0618 -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Expectations/PropertyAliasGeneratorTests.TheGenerateMethod.Should_Return_Correct_Generated_Code_For_Cached_Obsolete_Properties_name=Cached_Obsolete_ImplicitWarning_NoMessage.verified.cake: -------------------------------------------------------------------------------- 1 | private System.Int32? _Cached_Obsolete_ImplicitWarning_NoMessage; 2 | [Obsolete] 3 | public System.Int32 Cached_Obsolete_ImplicitWarning_NoMessage 4 | #pragma warning disable CS0618 5 | => _Cached_Obsolete_ImplicitWarning_NoMessage ??= Cake.Core.Tests.Data.PropertyAliasGeneratorData.Cached_Obsolete_ImplicitWarning_NoMessage(Context); 6 | #pragma warning restore CS0618 -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Expectations/PropertyAliasGeneratorTests.TheGenerateMethod.Should_Return_Correct_Generated_Code_For_Cached_Obsolete_Properties_name=Cached_Obsolete_ImplicitWarning_WithMessage.verified.cake: -------------------------------------------------------------------------------- 1 | private System.Int32? _Cached_Obsolete_ImplicitWarning_WithMessage; 2 | [Obsolete("Please use Foo.Bar instead.", false)] 3 | public System.Int32 Cached_Obsolete_ImplicitWarning_WithMessage 4 | #pragma warning disable CS0618 5 | => _Cached_Obsolete_ImplicitWarning_WithMessage ??= Cake.Core.Tests.Data.PropertyAliasGeneratorData.Cached_Obsolete_ImplicitWarning_WithMessage(Context); 6 | #pragma warning restore CS0618 -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Expectations/PropertyAliasGeneratorTests.TheGenerateMethod.Should_Return_Correct_Generated_Code_For_Cached_Properties_name=Cached_Dynamic_Type.verified.cake: -------------------------------------------------------------------------------- 1 | private dynamic _Cached_Dynamic_Type; 2 | public dynamic Cached_Dynamic_Type 3 | => _Cached_Dynamic_Type ??= Cake.Core.Tests.Data.PropertyAliasGeneratorData.Cached_Dynamic_Type(Context); -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Expectations/PropertyAliasGeneratorTests.TheGenerateMethod.Should_Return_Correct_Generated_Code_For_Cached_Properties_name=Cached_Nullable_Type.verified.cake: -------------------------------------------------------------------------------- 1 | private System.String? _Cached_Nullable_Type; 2 | public System.String? Cached_Nullable_Type 3 | => _Cached_Nullable_Type ??= Cake.Core.Tests.Data.PropertyAliasGeneratorData.Cached_Nullable_Type(Context); -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Expectations/PropertyAliasGeneratorTests.TheGenerateMethod.Should_Return_Correct_Generated_Code_For_Cached_Properties_name=Cached_Reference_Type.verified.cake: -------------------------------------------------------------------------------- 1 | private System.String _Cached_Reference_Type; 2 | public System.String Cached_Reference_Type 3 | => _Cached_Reference_Type ??= Cake.Core.Tests.Data.PropertyAliasGeneratorData.Cached_Reference_Type(Context); -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Expectations/PropertyAliasGeneratorTests.TheGenerateMethod.Should_Return_Correct_Generated_Code_For_Cached_Properties_name=Cached_Value_Type.verified.cake: -------------------------------------------------------------------------------- 1 | private System.Boolean? _Cached_Value_Type; 2 | public System.Boolean Cached_Value_Type 3 | => _Cached_Value_Type ??= Cake.Core.Tests.Data.PropertyAliasGeneratorData.Cached_Value_Type(Context); -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Expectations/PropertyAliasGeneratorTests.TheGenerateMethod.Should_Return_Correct_Generated_Code_For_Non_Cached_Obsolete_Properties_name=NonCached_Obsolete_ExplicitError_WithMessage.verified.cake: -------------------------------------------------------------------------------- 1 | [Obsolete("Please use Foo.Bar instead.", true)] 2 | public System.Int32 NonCached_Obsolete_ExplicitError_WithMessage 3 | #pragma warning disable CS0618 4 | => Cake.Core.Tests.Data.PropertyAliasGeneratorData.NonCached_Obsolete_ExplicitError_WithMessage(Context); 5 | #pragma warning restore CS0618 -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Expectations/PropertyAliasGeneratorTests.TheGenerateMethod.Should_Return_Correct_Generated_Code_For_Non_Cached_Obsolete_Properties_name=NonCached_Obsolete_ExplicitWarning_WithMessage.verified.cake: -------------------------------------------------------------------------------- 1 | [Obsolete("Please use Foo.Bar instead.", false)] 2 | public System.Int32 NonCached_Obsolete_ExplicitWarning_WithMessage 3 | #pragma warning disable CS0618 4 | => Cake.Core.Tests.Data.PropertyAliasGeneratorData.NonCached_Obsolete_ExplicitWarning_WithMessage(Context); 5 | #pragma warning restore CS0618 -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Expectations/PropertyAliasGeneratorTests.TheGenerateMethod.Should_Return_Correct_Generated_Code_For_Non_Cached_Obsolete_Properties_name=NonCached_Obsolete_ImplicitWarning_NoMessage.verified.cake: -------------------------------------------------------------------------------- 1 | [Obsolete] 2 | public System.Int32 NonCached_Obsolete_ImplicitWarning_NoMessage 3 | #pragma warning disable CS0618 4 | => Cake.Core.Tests.Data.PropertyAliasGeneratorData.NonCached_Obsolete_ImplicitWarning_NoMessage(Context); 5 | #pragma warning restore CS0618 -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Expectations/PropertyAliasGeneratorTests.TheGenerateMethod.Should_Return_Correct_Generated_Code_For_Non_Cached_Obsolete_Properties_name=NonCached_Obsolete_ImplicitWarning_WithMessage.verified.cake: -------------------------------------------------------------------------------- 1 | [Obsolete("Please use Foo.Bar instead.", false)] 2 | public System.Int32 NonCached_Obsolete_ImplicitWarning_WithMessage 3 | #pragma warning disable CS0618 4 | => Cake.Core.Tests.Data.PropertyAliasGeneratorData.NonCached_Obsolete_ImplicitWarning_WithMessage(Context); 5 | #pragma warning restore CS0618 -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Expectations/PropertyAliasGeneratorTests.TheGenerateMethod.Should_Return_Correct_Generated_Code_For_Non_Cached_Properties_name=NonCached_Dynamic_Type.verified.cake: -------------------------------------------------------------------------------- 1 | public dynamic NonCached_Dynamic_Type 2 | => Cake.Core.Tests.Data.PropertyAliasGeneratorData.NonCached_Dynamic_Type(Context); -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Expectations/PropertyAliasGeneratorTests.TheGenerateMethod.Should_Return_Correct_Generated_Code_For_Non_Cached_Properties_name=NonCached_Value_Type.verified.cake: -------------------------------------------------------------------------------- 1 | public System.Int32 NonCached_Value_Type 2 | => Cake.Core.Tests.Data.PropertyAliasGeneratorData.NonCached_Value_Type(Context); -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Fixtures/NotFormattableFixture.cs: -------------------------------------------------------------------------------- 1 | namespace Cake.Core.Tests.Fixtures 2 | { 3 | internal sealed class NotFormattableFixture 4 | { 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using System.Reflection; 6 | using System.Runtime.InteropServices; 7 | 8 | // General Information about an assembly is controlled through the following 9 | // set of attributes. Change these attribute values to modify the information 10 | // associated with an assembly. 11 | [assembly: AssemblyTitle("Cake.Tests")] 12 | 13 | // Setting ComVisible to false makes the types in this assembly not visible 14 | // to COM components. If you need to access a type in this assembly from 15 | // COM, set the ComVisible attribute to true on that type. 16 | [assembly: ComVisible(false)] -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Stubs/DummySettings.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Core.Tooling; 6 | 7 | namespace Cake.Core.Tests.Stubs 8 | { 9 | public sealed class DummySettings : ToolSettings 10 | { 11 | } 12 | } -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Unit/Annotations/CakeModuleAttributeTests.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Core.Annotations; 6 | using Xunit; 7 | 8 | namespace Cake.Core.Tests.Unit.Annotations 9 | { 10 | public sealed class CakeModuleAttributeTests 11 | { 12 | [Fact] 13 | public void Should_Throw_If_Module_Type_Is_Null() 14 | { 15 | // Given, When 16 | var result = Record.Exception(() => new CakeModuleAttribute(null)); 17 | 18 | // Then 19 | AssertEx.IsArgumentNullException(result, "moduleType"); 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Unit/CakeEngineActionsTests.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Xunit; 6 | 7 | namespace Cake.Core.Tests.Unit 8 | { 9 | public sealed class CakeEngineActionsTests 10 | { 11 | public sealed class TheConstructor 12 | { 13 | [Fact] 14 | public void Should_Throw_If_Data_Service_Is_Null() 15 | { 16 | // Given, When 17 | var result = Record.Exception(() => new CakeEngineActions(null)); 18 | 19 | // Then 20 | AssertEx.IsArgumentNullException(result, "data"); 21 | } 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Unit/CakeTaskCriteriaTests.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Xunit; 6 | 7 | namespace Cake.Core.Tests.Unit 8 | { 9 | public sealed class CakeTaskCriteriaTests 10 | { 11 | public sealed class TheConstructor 12 | { 13 | [Fact] 14 | public void Should_Throw_If_Predicate_Is_Null() 15 | { 16 | // Given, When 17 | var result = Record.Exception(() => new CakeTaskCriteria(null)); 18 | 19 | // Then 20 | AssertEx.IsArgumentNullException(result, "predicate"); 21 | } 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /src/Cake.Core.Tests/Unit/Scripting/CodeGen/GenericConstraintFakes.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Core.Tests.Unit.Scripting.CodeGen 6 | { 7 | /// 8 | /// Provides test/marker classes for tests in . 9 | /// 10 | internal static class GenericConstraintFakes 11 | { 12 | internal class FakeClass 13 | { 14 | } 15 | 16 | internal interface IFakeInterface 17 | { 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /src/Cake.Core/Annotations/CakeAliasAttribute.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using System; 6 | 7 | namespace Cake.Core.Annotations 8 | { 9 | /// 10 | /// An attribute used to mark script aliases. 11 | /// 12 | public abstract class CakeAliasAttribute : Attribute 13 | { 14 | } 15 | } -------------------------------------------------------------------------------- /src/Cake.Core/Annotations/CakeMethodAliasAttribute.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using System; 6 | 7 | namespace Cake.Core.Annotations 8 | { 9 | /// 10 | /// An attribute used to mark script method aliases. 11 | /// 12 | [AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)] 13 | public sealed class CakeMethodAliasAttribute : CakeAliasAttribute 14 | { 15 | } 16 | } -------------------------------------------------------------------------------- /src/Cake.Core/Cake.Core.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | Cake.Core 4 | Library 5 | AnyCpu 6 | true 7 | 8 | 9 | 10 | The Cake core library. 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /src/Cake.Core/CakeReportEntryCategory.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Core 6 | { 7 | /// 8 | /// Represents a Cake report entry category. 9 | /// 10 | public enum CakeReportEntryCategory 11 | { 12 | /// 13 | /// Represents a normal task. 14 | /// 15 | Task, 16 | 17 | /// 18 | /// Represent a setup task. 19 | /// 20 | Setup, 21 | 22 | /// 23 | /// Represent a teardown task. 24 | /// 25 | Teardown 26 | } 27 | } -------------------------------------------------------------------------------- /src/Cake.Core/Composition/ICakeModule.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Core.Composition 6 | { 7 | /// 8 | /// Represents a module responsible for 9 | /// registering types and instances. 10 | /// 11 | public interface ICakeModule 12 | { 13 | /// 14 | /// Performs custom registrations in the provided registrar. 15 | /// 16 | /// The container registrar. 17 | void Register(ICakeContainerRegistrar registrar); 18 | } 19 | } -------------------------------------------------------------------------------- /src/Cake.Core/Configuration/ICakeConfiguration.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Core.Configuration 6 | { 7 | /// 8 | /// Represents the Cake configuration. 9 | /// 10 | public interface ICakeConfiguration 11 | { 12 | /// 13 | /// Gets the value that corresponds to the specified key. 14 | /// 15 | /// The key. 16 | /// The value for the specified key, or null if key doesn't exists. 17 | string GetValue(string key); 18 | } 19 | } -------------------------------------------------------------------------------- /src/Cake.Core/Configuration/KeyNormalizer.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Core.Configuration 6 | { 7 | internal static class KeyNormalizer 8 | { 9 | public static string Normalize(string key) 10 | { 11 | key = key.ToUpperInvariant(); 12 | return key.Trim(); 13 | } 14 | } 15 | } -------------------------------------------------------------------------------- /src/Cake.Core/Configuration/Parser/ConfigurationToken.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Core.Configuration.Parser 6 | { 7 | internal sealed class ConfigurationToken 8 | { 9 | public ConfigurationTokenKind Kind { get; } 10 | 11 | public string Value { get; } 12 | 13 | public ConfigurationToken(ConfigurationTokenKind kind, string value) 14 | { 15 | Kind = kind; 16 | Value = value; 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /src/Cake.Core/Configuration/Parser/ConfigurationTokenKind.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Core.Configuration.Parser 6 | { 7 | internal enum ConfigurationTokenKind 8 | { 9 | Section, 10 | Value, 11 | Equals 12 | } 13 | } -------------------------------------------------------------------------------- /src/Cake.Core/Diagnostics/Console/IConsoleRenderer.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Core.Diagnostics 6 | { 7 | internal interface IConsoleRenderer 8 | { 9 | void Render(LogLevel level, string format, params object[] args); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/Cake.Core/Diagnostics/Formatting/FormatToken.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Core.Diagnostics.Formatting 6 | { 7 | internal abstract class FormatToken 8 | { 9 | public abstract string Render(object[] args); 10 | } 11 | } -------------------------------------------------------------------------------- /src/Cake.Core/Diagnostics/Formatting/LiteralToken.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Core.Diagnostics.Formatting 6 | { 7 | internal sealed class LiteralToken : FormatToken 8 | { 9 | public string Text { get; } 10 | 11 | public LiteralToken(string text) 12 | { 13 | Text = text; 14 | } 15 | 16 | public override string Render(object[] args) 17 | { 18 | return Text; 19 | } 20 | } 21 | } -------------------------------------------------------------------------------- /src/Cake.Core/Diagnostics/ICakeDebugger.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Cake.Core.Diagnostics 4 | { 5 | /// 6 | /// Represents a mechanism to interact with the debugger. 7 | /// 8 | public interface ICakeDebugger 9 | { 10 | /// 11 | /// Waits for a debugger to attach to the process. 12 | /// 13 | /// The timeout. 14 | void WaitForAttach(TimeSpan timeout); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/Cake.Core/Diagnostics/LogAction.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Core.Diagnostics 6 | { 7 | /// 8 | /// Delegate representing lazy log action. 9 | /// 10 | /// Proxy to log. 11 | public delegate void LogAction(LogActionEntry actionEntry); 12 | 13 | /// 14 | /// Delegate representing lazy log entry. 15 | /// 16 | /// A composite format string. 17 | /// An array of objects to write using format. 18 | public delegate void LogActionEntry(string format, params object[] args); 19 | } -------------------------------------------------------------------------------- /src/Cake.Core/Diagnostics/NullLog.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Core.Diagnostics 6 | { 7 | /// 8 | /// A log that discards messages written to it. 9 | /// 10 | public sealed class NullLog : ICakeLog 11 | { 12 | /// 13 | public Verbosity Verbosity 14 | { 15 | get { return Verbosity.Quiet; } 16 | set { } 17 | } 18 | 19 | /// 20 | public void Write(Verbosity verbosity, LogLevel level, string format, params object[] args) 21 | { 22 | } 23 | } 24 | } -------------------------------------------------------------------------------- /src/Cake.Core/Extensions/HashSetExtensions.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using System.Collections.Generic; 6 | 7 | // ReSharper disable once CheckNamespace 8 | namespace Cake.Core 9 | { 10 | internal static class HashSetExtensions 11 | { 12 | public static void AddRange(this HashSet set, IEnumerable items) 13 | { 14 | if (items != null) 15 | { 16 | foreach (var item in items) 17 | { 18 | set.Add(item); 19 | } 20 | } 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /src/Cake.Core/ICakeDataResolver.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Core 6 | { 7 | /// 8 | /// Represents a data context resolver. 9 | /// 10 | public interface ICakeDataResolver 11 | { 12 | /// 13 | /// Gets the data of the specified type. 14 | /// 15 | /// The data type. 16 | /// The value of the data. 17 | TData Get() where TData : class; 18 | } 19 | } -------------------------------------------------------------------------------- /src/Cake.Core/ICakeDataService.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Core 6 | { 7 | /// 8 | /// Represents a data context service. 9 | /// 10 | public interface ICakeDataService : ICakeDataResolver 11 | { 12 | /// 13 | /// Adds the data of the specified type. 14 | /// 15 | /// The data type. 16 | /// The value of the data. 17 | void Add(TData value) where TData : class; 18 | } 19 | } -------------------------------------------------------------------------------- /src/Cake.Core/IO/FileSystem.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Core.IO 6 | { 7 | /// 8 | /// A physical file system implementation. 9 | /// 10 | public sealed class FileSystem : IFileSystem 11 | { 12 | /// 13 | public IFile GetFile(FilePath path) 14 | { 15 | return new File(path); 16 | } 17 | 18 | /// 19 | public IDirectory GetDirectory(DirectoryPath path) 20 | { 21 | return new Directory(path); 22 | } 23 | } 24 | } -------------------------------------------------------------------------------- /src/Cake.Core/IO/Globbing/GlobNode.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using System.Diagnostics; 6 | 7 | namespace Cake.Core.IO.Globbing 8 | { 9 | [DebuggerDisplay("{ToString(),nq}")] 10 | internal abstract class GlobNode 11 | { 12 | public GlobNode Next { get; internal set; } 13 | 14 | public abstract void Accept(GlobVisitor visitor, GlobVisitorContext context); 15 | } 16 | } -------------------------------------------------------------------------------- /src/Cake.Core/IO/Globbing/GlobToken.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using System.Diagnostics; 6 | 7 | namespace Cake.Core.IO.Globbing 8 | { 9 | [DebuggerDisplay("{Value,nq} ({Kind,nq})")] 10 | internal sealed class GlobToken 11 | { 12 | public GlobTokenKind Kind { get; } 13 | 14 | public string Value { get; } 15 | 16 | public GlobToken(GlobTokenKind kind, string value) 17 | { 18 | Kind = kind; 19 | Value = value; 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /src/Cake.Core/IO/Globbing/GlobTokenKind.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Core.IO.Globbing 6 | { 7 | internal enum GlobTokenKind 8 | { 9 | Wildcard, 10 | CharacterWildcard, 11 | PathSeparator, 12 | Text, 13 | WindowsRoot, 14 | Parent, 15 | Current, 16 | BracketWildcard, 17 | BraceExpansion 18 | } 19 | } -------------------------------------------------------------------------------- /src/Cake.Core/IO/Globbing/Nodes/CurrentDirectoryNode.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using System.Diagnostics; 6 | 7 | namespace Cake.Core.IO.Globbing.Nodes 8 | { 9 | [DebuggerDisplay(".")] 10 | internal sealed class CurrentDirectoryNode : GlobNode 11 | { 12 | [DebuggerStepThrough] 13 | public override void Accept(GlobVisitor visitor, GlobVisitorContext context) 14 | { 15 | visitor.VisitCurrent(this, context); 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /src/Cake.Core/IO/Globbing/Nodes/MatchableNode.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Core.IO.Globbing.Nodes 6 | { 7 | internal abstract class MatchableNode : GlobNode 8 | { 9 | public abstract bool IsMatch(string value); 10 | } 11 | } -------------------------------------------------------------------------------- /src/Cake.Core/IO/Globbing/Nodes/ParentDirectoryNode.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using System.Diagnostics; 6 | 7 | namespace Cake.Core.IO.Globbing.Nodes 8 | { 9 | [DebuggerDisplay("..")] 10 | internal sealed class ParentDirectoryNode : GlobNode 11 | { 12 | [DebuggerStepThrough] 13 | public override void Accept(GlobVisitor visitor, GlobVisitorContext context) 14 | { 15 | visitor.VisitParent(this, context); 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /src/Cake.Core/IO/Globbing/Nodes/RecursiveWildcardNode.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using System.Diagnostics; 6 | 7 | namespace Cake.Core.IO.Globbing.Nodes 8 | { 9 | [DebuggerDisplay("**")] 10 | internal sealed class RecursiveWildcardNode : MatchableNode 11 | { 12 | [DebuggerStepThrough] 13 | public override void Accept(GlobVisitor globber, GlobVisitorContext context) 14 | { 15 | globber.VisitRecursiveWildcardSegment(this, context); 16 | } 17 | 18 | public override bool IsMatch(string value) 19 | { 20 | return true; 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /src/Cake.Core/IO/Globbing/Nodes/RelativeRootNode.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using System.Diagnostics; 6 | 7 | namespace Cake.Core.IO.Globbing.Nodes 8 | { 9 | [DebuggerDisplay("./")] 10 | internal sealed class RelativeRootNode : GlobNode 11 | { 12 | [DebuggerStepThrough] 13 | public override void Accept(GlobVisitor globber, GlobVisitorContext context) 14 | { 15 | globber.VisitRelativeRoot(this, context); 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /src/Cake.Core/IO/Globbing/Nodes/Segments/BraceExpansionSegment.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Core.IO.Globbing.Nodes.Segments 6 | { 7 | internal sealed class BraceExpansionSegment : PathSegment 8 | { 9 | public override string Value { get; } 10 | 11 | public override string Regex { get; } 12 | 13 | public BraceExpansionSegment(string value) 14 | { 15 | Value = $"{{{value}}}"; 16 | Regex = $"({value})".Replace(",", "|"); 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/Cake.Core/IO/Globbing/Nodes/Segments/CharacterWildcardSegment.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Core.IO.Globbing.Nodes.Segments 6 | { 7 | internal sealed class CharacterWildcardSegment : PathSegment 8 | { 9 | public override string Value => "?"; 10 | 11 | public override string Regex => ".{1}"; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/Cake.Core/IO/Globbing/Nodes/Segments/PathSegment.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Core.IO.Globbing.Nodes.Segments 6 | { 7 | internal abstract class PathSegment 8 | { 9 | public abstract string Regex { get; } 10 | public abstract string Value { get; } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/Cake.Core/IO/Globbing/Nodes/Segments/TextSegment.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Core.IO.Globbing.Nodes.Segments 6 | { 7 | internal sealed class TextSegment : PathSegment 8 | { 9 | public override string Value { get; } 10 | 11 | public override string Regex { get; } 12 | 13 | public TextSegment(string text) 14 | { 15 | Value = text; 16 | Regex = Value.Replace("+", "\\+").Replace(".", "\\."); 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/Cake.Core/IO/Globbing/Nodes/Segments/WildcardSegment.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Core.IO.Globbing.Nodes.Segments 6 | { 7 | internal sealed class WildcardSegment : PathSegment 8 | { 9 | public override string Value => "*"; 10 | 11 | public override string Regex => ".*"; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/Cake.Core/IO/Globbing/Nodes/UncRootNode.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using System; 6 | using System.Diagnostics; 7 | 8 | namespace Cake.Core.IO.Globbing.Nodes 9 | { 10 | [DebuggerDisplay(@"\\")] 11 | internal sealed class UncRootNode : GlobNode 12 | { 13 | public string Server { get; } 14 | 15 | public UncRootNode(string server) 16 | { 17 | Server = server; 18 | } 19 | 20 | [DebuggerStepThrough] 21 | public override void Accept(GlobVisitor visitor, GlobVisitorContext context) 22 | { 23 | visitor.VisitUncRoot(this, context); 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /src/Cake.Core/IO/Globbing/Nodes/UnixRootNode.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using System.Diagnostics; 6 | 7 | namespace Cake.Core.IO.Globbing.Nodes 8 | { 9 | [DebuggerDisplay("/")] 10 | internal sealed class UnixRootNode : GlobNode 11 | { 12 | [DebuggerStepThrough] 13 | public override void Accept(GlobVisitor visitor, GlobVisitorContext context) 14 | { 15 | visitor.VisitUnixRoot(this, context); 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /src/Cake.Core/IO/Globbing/Nodes/WildcardNode.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using System.Diagnostics; 6 | 7 | namespace Cake.Core.IO.Globbing.Nodes 8 | { 9 | [DebuggerDisplay("*")] 10 | internal sealed class WildcardNode : MatchableNode 11 | { 12 | [DebuggerStepThrough] 13 | public override void Accept(GlobVisitor visitor, GlobVisitorContext context) 14 | { 15 | visitor.VisitWildcardSegmentNode(this, context); 16 | } 17 | 18 | public override bool IsMatch(string value) 19 | { 20 | return true; 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /src/Cake.Core/IO/NuGet/INuGetToolResolver.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Core.IO.NuGet 6 | { 7 | /// 8 | /// Represents a NuGet path resolver. 9 | /// 10 | public interface INuGetToolResolver 11 | { 12 | /// 13 | /// Resolves the path to nuget.exe. 14 | /// 15 | /// The path to nuget.exe. 16 | FilePath ResolvePath(); 17 | } 18 | } -------------------------------------------------------------------------------- /src/Cake.Core/IO/SearchScope.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Core.IO 6 | { 7 | /// 8 | /// Represents a search scope. 9 | /// 10 | public enum SearchScope 11 | { 12 | /// 13 | /// The current directory. 14 | /// 15 | Current, 16 | 17 | /// 18 | /// The current directory and child directories. 19 | /// 20 | Recursive 21 | } 22 | } -------------------------------------------------------------------------------- /src/Cake.Core/ISetupContext.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | 3 | namespace Cake.Core 4 | { 5 | /// 6 | /// Acts as a context providing info about the overall build before its started. 7 | /// 8 | public interface ISetupContext : ICakeContext 9 | { 10 | /// 11 | /// Gets target (initiating) task. 12 | /// 13 | ICakeTaskInfo TargetTask { get; } 14 | 15 | /// 16 | /// Gets all registered tasks that are going to be executed. 17 | /// 18 | IReadOnlyCollection TasksToExecute { get; } 19 | } 20 | } -------------------------------------------------------------------------------- /src/Cake.Core/ITaskSetupContext.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Core 6 | { 7 | /// 8 | /// Acts as a context providing info about a before its invocation. 9 | /// 10 | public interface ITaskSetupContext : ICakeContext 11 | { 12 | /// 13 | /// Gets the describing the that has just been invoked. 14 | /// 15 | /// 16 | /// The task. 17 | /// 18 | ICakeTaskInfo Task { get; } 19 | } 20 | } -------------------------------------------------------------------------------- /src/Cake.Core/Polyfill/ProcessHelper.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using System; 6 | using System.Diagnostics; 7 | using System.Linq; 8 | 9 | namespace Cake.Core.Polyfill 10 | { 11 | internal static class ProcessHelper 12 | { 13 | public static void SetEnvironmentVariable(ProcessStartInfo info, string key, string value) 14 | { 15 | var envKey = info.Environment.Keys.FirstOrDefault(existingKey => StringComparer.OrdinalIgnoreCase.Equals(existingKey, key)) ?? key; 16 | info.Environment[envKey] = value; 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/Cake.Core/Polyfill/Runtime.cs: -------------------------------------------------------------------------------- 1 | namespace Cake.Core.Polyfill 2 | { 3 | /// 4 | /// The current Runtime Cake is executing on. 5 | /// 6 | public enum Runtime 7 | { 8 | /// 9 | /// Full Framework or Mono. 10 | /// 11 | Clr, 12 | 13 | /// 14 | /// .NET Core or .NET 5+. 15 | /// 16 | CoreClr 17 | } 18 | } -------------------------------------------------------------------------------- /src/Cake.Core/Reflection/IAssemblyVerifier.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using System.Reflection; 6 | using Cake.Core.Configuration; 7 | 8 | namespace Cake.Core.Reflection 9 | { 10 | /// 11 | /// Represents an assembly verifier. 12 | /// 13 | public interface IAssemblyVerifier 14 | { 15 | /// 16 | /// Verifies an assembly. 17 | /// 18 | /// The target assembly. 19 | void Verify(Assembly assembly); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/Cake.Core/Scripting/Analysis/ScriptAnalyzerMode.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Core.Scripting.Analysis 6 | { 7 | /// 8 | /// Represents the script analyzer mode. 9 | /// 10 | public enum ScriptAnalyzerMode 11 | { 12 | /// 13 | /// Analyzes everything. 14 | /// 15 | Everything = 0, 16 | 17 | /// 18 | /// Analyzes modules. 19 | /// 20 | Modules = 1, 21 | } 22 | } -------------------------------------------------------------------------------- /src/Cake.Core/Scripting/Analysis/ScriptAnalyzerSettings.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Core.Scripting.Analysis 6 | { 7 | /// 8 | /// Represents settings for the script analyzer. 9 | /// 10 | public sealed class ScriptAnalyzerSettings 11 | { 12 | /// 13 | /// Gets or sets the analyzer mode. 14 | /// 15 | public ScriptAnalyzerMode Mode { get; set; } = ScriptAnalyzerMode.Everything; 16 | } 17 | } -------------------------------------------------------------------------------- /src/Cake.Core/Scripting/IReferenceAssemblyResolver.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using System.Reflection; 6 | 7 | namespace Cake.Core.Scripting 8 | { 9 | /// 10 | /// Represents a framework reference assembly resolver. 11 | /// 12 | public interface IReferenceAssemblyResolver 13 | { 14 | /// 15 | /// Finds framwork reference assemblies. 16 | /// 17 | /// The resolved reference assemblies. 18 | Assembly[] GetReferenceAssemblies(); 19 | } 20 | } -------------------------------------------------------------------------------- /src/Cake.Core/Scripting/IScriptEngine.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Core.Scripting 6 | { 7 | /// 8 | /// Represents a script engine. 9 | /// 10 | public interface IScriptEngine 11 | { 12 | /// 13 | /// Creates a new script session. 14 | /// 15 | /// The host. 16 | /// A new script session. 17 | IScriptSession CreateSession(IScriptHost host); 18 | } 19 | } -------------------------------------------------------------------------------- /src/Cake.Core/Scripting/Processors/ModuleDirectiveProcessor.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using Cake.Core.Packaging; 4 | using Cake.Core.Scripting.Analysis; 5 | 6 | namespace Cake.Core.Scripting.Processors 7 | { 8 | internal sealed class ModuleDirectiveProcessor : UriDirectiveProcessor 9 | { 10 | protected override IEnumerable GetDirectiveNames() 11 | { 12 | return new[] { "#module" }; 13 | } 14 | 15 | protected override void AddToContext(IScriptAnalyzerContext context, Uri uri) 16 | { 17 | var package = new PackageReference(uri); 18 | context.Current.Modules.Add(package); 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/Cake.Core/Scripting/Processors/ShebangProcessor.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using System; 6 | using Cake.Core.Scripting.Analysis; 7 | 8 | namespace Cake.Core.Scripting.Processors 9 | { 10 | internal sealed class ShebangProcessor : LineProcessor 11 | { 12 | public override bool Process(IScriptAnalyzerContext processor, string line, out string replacement) 13 | { 14 | replacement = null; 15 | 16 | // Remove all shebang lines that we encounter. 17 | return line.StartsWith("#!", StringComparison.OrdinalIgnoreCase); 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /src/Cake.Core/Scripting/ScriptAliasType.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Core.Scripting 6 | { 7 | /// 8 | /// Represents a script alias type. 9 | /// 10 | public enum ScriptAliasType 11 | { 12 | /// 13 | /// Represents an unknown script alias type. 14 | /// 15 | Unknown = 0, 16 | 17 | /// 18 | /// Represents a script alias method. 19 | /// 20 | Method, 21 | 22 | /// 23 | /// Represents a script alias property. 24 | /// 25 | Property 26 | } 27 | } -------------------------------------------------------------------------------- /src/Cake.DotNetTool.Module/DotNetToolOperation.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.DotNetTool.Module 6 | { 7 | /// 8 | /// Represents dotnet tool operation. 9 | /// 10 | public enum DotNetToolOperation 11 | { 12 | /// 13 | /// Install operation. 14 | /// 15 | Install, 16 | 17 | /// 18 | /// Uninstall operation. 19 | /// 20 | Uninstall, 21 | 22 | /// 23 | /// Update operation. 24 | /// 25 | Update 26 | } 27 | } -------------------------------------------------------------------------------- /src/Cake.DotNetTool.Module/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cake-build/cake/92ef1379306c37efe3d9bf6547f31a2e5d3a80f1/src/Cake.DotNetTool.Module/icon.png -------------------------------------------------------------------------------- /src/Cake.Frosting.Example/Cake.Frosting.Example.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | Cake.Frosting.Example 4 | Exe 5 | true 6 | $(MSBuildProjectDirectory).. 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /src/Cake.Frosting.Template/templates/cakefrosting/.template.config/ide.host.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json.schemastore.org/vs-2017.3.host", 3 | "icon": "image.png", 4 | "learnMoreLink": "https://cakebuild.net/" 5 | } -------------------------------------------------------------------------------- /src/Cake.Frosting.Template/templates/cakefrosting/build.ps1: -------------------------------------------------------------------------------- 1 | dotnet run --project build/Build.csproj -- $args 2 | exit $LASTEXITCODE; -------------------------------------------------------------------------------- /src/Cake.Frosting.Template/templates/cakefrosting/build.sh: -------------------------------------------------------------------------------- 1 | dotnet run --project ./build/Build.csproj -- "$@" 2 | -------------------------------------------------------------------------------- /src/Cake.Frosting.Template/templates/cakefrosting/build/Build.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | Exe 4 | TargetFrameworkValue 5 | $(MSBuildProjectDirectory) 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /src/Cake.Frosting.Tests.Tasks/Cake.Frosting.Tests.Tasks.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | false 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/Cake.Frosting.Tests.Tasks/Tasks/BuildTask.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Core; 6 | 7 | namespace Cake.Frosting.Tests 8 | { 9 | [IsDependentOn(typeof(CleanTask))] 10 | public sealed class BuildTask : FrostingTask 11 | { 12 | } 13 | } -------------------------------------------------------------------------------- /src/Cake.Frosting.Tests.Tasks/Tasks/CleanTask.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Core; 6 | 7 | namespace Cake.Frosting.Tests 8 | { 9 | public sealed class CleanTask : FrostingTask 10 | { 11 | } 12 | } -------------------------------------------------------------------------------- /src/Cake.Frosting.Tests.Tasks/Tasks/ContinueOnErrorTask.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using System; 6 | using Cake.Core; 7 | 8 | namespace Cake.Frosting.Tests 9 | { 10 | [ContinueOnError] 11 | public sealed class ContinueOnErrorTask : FrostingTask 12 | { 13 | public override void Run(ICakeContext context) 14 | { 15 | throw new InvalidOperationException(); 16 | } 17 | } 18 | 19 | public sealed class ThrowingTask : FrostingTask 20 | { 21 | public override void Run(ICakeContext context) 22 | { 23 | throw new InvalidOperationException(); 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /src/Cake.Frosting.Tests.Tasks/Tasks/DependeeTask.cs: -------------------------------------------------------------------------------- 1 | using Cake.Core; 2 | 3 | namespace Cake.Frosting.Tests 4 | { 5 | [IsDependeeOf(typeof(CleanTask))] 6 | public sealed class DependeeTask : FrostingTask 7 | { 8 | } 9 | } -------------------------------------------------------------------------------- /src/Cake.Frosting.Tests.Tasks/Tasks/DummyTask.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Core; 6 | 7 | namespace Cake.Frosting.Tests 8 | { 9 | public sealed class DummyTask : FrostingTask 10 | { 11 | public override void Run(ICakeContext context) 12 | { 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/Cake.Frosting.Tests.Tasks/Tasks/DummyTask2.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Core; 6 | 7 | namespace Cake.Frosting.Tests 8 | { 9 | public sealed class DummyTask2 : FrostingTask 10 | { 11 | public override void Run(ICakeContext context) 12 | { 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/Cake.Frosting.Tests.Tasks/Tasks/DummyTask3.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Core; 6 | 7 | namespace Cake.Frosting.Tests 8 | { 9 | public sealed class DummyTask3 : FrostingTask 10 | { 11 | public override void Run(ICakeContext context) 12 | { 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/Cake.Frosting.Tests.Tasks/Tasks/InvalidDependencyTask.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using System; 6 | using Cake.Core; 7 | 8 | namespace Cake.Frosting.Tests 9 | { 10 | [IsDependentOn(typeof(DateTime))] 11 | public sealed class InvalidDependencyTask : FrostingTask 12 | { 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/Cake.Frosting.Tests.Tasks/Tasks/OnErrorRunCompletedTask.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using System; 6 | using Cake.Core; 7 | using Cake.Core.Diagnostics; 8 | 9 | namespace Cake.Frosting.Tests 10 | { 11 | public sealed class OnErrorRunCompletedTask : FrostingTask 12 | { 13 | public override void Run(ICakeContext context) 14 | { 15 | } 16 | 17 | public override void OnError(Exception exception, ICakeContext context) 18 | { 19 | context.Log.Error("OnError: {0}", exception.Message); 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /src/Cake.Frosting.Tests.Tasks/Tasks/OnErrorRunFailedTask.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using System; 6 | using Cake.Core; 7 | using Cake.Core.Diagnostics; 8 | 9 | namespace Cake.Frosting.Tests 10 | { 11 | public sealed class OnErrorRunFailedTask : FrostingTask 12 | { 13 | public override void Run(ICakeContext context) 14 | { 15 | throw new InvalidOperationException("An exception"); 16 | } 17 | 18 | public override void OnError(Exception exception, ICakeContext context) 19 | { 20 | context.Log.Error("OnError: {0}", exception.Message); 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /src/Cake.Frosting.Tests.Tasks/Tasks/UnitTestsTask.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Core; 6 | 7 | namespace Cake.Frosting.Tests 8 | { 9 | [IsDependentOn(typeof(BuildTask))] 10 | public sealed class UnitTestsTask : FrostingTask 11 | { 12 | } 13 | } -------------------------------------------------------------------------------- /src/Cake.Frosting.Tests/Fakes/FakeLifetime.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Core; 6 | 7 | namespace Cake.Frosting.Tests 8 | { 9 | public sealed class FakeLifetime : FrostingLifetime 10 | { 11 | public int SetupCount { get; set; } 12 | public int TeardownCount { get; set; } 13 | 14 | public override void Setup(ICakeContext context, ISetupContext info) 15 | { 16 | SetupCount++; 17 | } 18 | 19 | public override void Teardown(ICakeContext context, ITeardownContext info) 20 | { 21 | TeardownCount++; 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /src/Cake.Frosting.Tests/Fakes/FakeTaskLifetime.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Core; 6 | 7 | namespace Cake.Frosting.Tests 8 | { 9 | public sealed class FakeTaskLifetime : FrostingTaskLifetime 10 | { 11 | public int SetupCount { get; set; } 12 | public int TeardownCount { get; set; } 13 | 14 | public override void Setup(ICakeContext context, ITaskSetupContext info) 15 | { 16 | SetupCount++; 17 | } 18 | 19 | public override void Teardown(ICakeContext context, ITaskTeardownContext info) 20 | { 21 | TeardownCount++; 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /src/Cake.Frosting/Annotations/ContinueOnErrorAttribute.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using System; 6 | 7 | namespace Cake.Frosting 8 | { 9 | /// 10 | /// Used for hinting at Cake that exceptions thrown by a task 11 | /// decorated with this attribute should continue running. 12 | /// 13 | [AttributeUsage(AttributeTargets.Class, Inherited = false)] 14 | public sealed class ContinueOnErrorAttribute : Attribute 15 | { 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /src/Cake.Frosting/IFrostingContext.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Core; 6 | 7 | namespace Cake.Frosting 8 | { 9 | /// 10 | /// Represents the build context. 11 | /// 12 | /// 13 | public interface IFrostingContext : ICakeContext 14 | { 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/Cake.Frosting/IFrostingStartup.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Microsoft.Extensions.DependencyInjection; 6 | 7 | namespace Cake.Frosting 8 | { 9 | /// 10 | /// Represents a startup configuration. 11 | /// 12 | public interface IFrostingStartup 13 | { 14 | /// 15 | /// Configures services used by Cake. 16 | /// 17 | /// The services to configure. 18 | void Configure(IServiceCollection services); 19 | } 20 | } -------------------------------------------------------------------------------- /src/Cake.Frosting/IToolInstaller.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Core.Packaging; 6 | 7 | namespace Cake.Frosting 8 | { 9 | /// 10 | /// Represents the tool installer. 11 | /// 12 | public interface IToolInstaller 13 | { 14 | /// 15 | /// Tries to install the specified using 16 | /// the most suitable . 17 | /// 18 | /// Tool to install. 19 | void Install(PackageReference tool); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/Cake.Frosting/Internal/Extensions/MethodInfoExtensions.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using System.Reflection; 6 | 7 | namespace Cake.Frosting.Internal 8 | { 9 | internal static class MethodInfoExtensions 10 | { 11 | public static bool IsOverriden(this MethodInfo method) 12 | { 13 | return method.GetBaseDefinition().DeclaringType != method.DeclaringType; 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/Cake.Frosting/Internal/Extensions/TypeExtensions.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using System; 6 | using System.Reflection; 7 | 8 | namespace Cake.Frosting.Internal 9 | { 10 | internal static class TypeExtensions 11 | { 12 | public static string GetTaskName(this Type task) 13 | { 14 | if (task is null) 15 | { 16 | throw new ArgumentNullException(nameof(task)); 17 | } 18 | 19 | var attribute = task.GetCustomAttribute(); 20 | return attribute != null ? attribute.Name : task.Name; 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/Cake.Frosting/Internal/FrostingConfigurationValue.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using System; 6 | 7 | namespace Cake.Frosting.Internal 8 | { 9 | internal sealed class FrostingConfigurationValue 10 | { 11 | public string Key { get; } 12 | public string Value { get; } 13 | 14 | public FrostingConfigurationValue(string key, string value) 15 | { 16 | Key = key ?? throw new ArgumentNullException(nameof(key)); 17 | Value = value ?? throw new ArgumentNullException(nameof(value)); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src/Cake.Frosting/Internal/IReverseTaskDependency.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using System; 6 | 7 | namespace Cake.Frosting 8 | { 9 | internal interface IReverseTaskDependency 10 | { 11 | Type Task { get; } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/Cake.Frosting/Internal/ITaskDependency.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using System; 6 | 7 | namespace Cake.Frosting 8 | { 9 | internal interface ITaskDependency 10 | { 11 | Type Task { get; } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /src/Cake.Frosting/Internal/WorkingDirectory.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using System; 6 | using Cake.Core.IO; 7 | 8 | namespace Cake.Frosting.Internal 9 | { 10 | internal sealed class WorkingDirectory 11 | { 12 | public DirectoryPath Path { get; } 13 | 14 | public WorkingDirectory(DirectoryPath path) 15 | { 16 | Path = path ?? throw new ArgumentNullException(nameof(path)); 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /src/Cake.NuGet.Tests/Fixtures/NuGetAddinContentResolverFixture.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Core.Polyfill; 6 | 7 | namespace Cake.NuGet.Tests.Fixtures 8 | { 9 | internal sealed class NuGetAddinContentResolverFixture : NuGetContentResolverFixture 10 | { 11 | public NuGetAddinContentResolverFixture(string framework, Runtime runtime) 12 | : base(framework, runtime) 13 | { 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/Cake.NuGet.Tests/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using System.Runtime.InteropServices; 6 | 7 | // Setting ComVisible to false makes the types in this assembly not visible 8 | // to COM components. If you need to access a type in this assembly from 9 | // COM, set the ComVisible attribute to true on that type. 10 | [assembly: ComVisible(false)] 11 | 12 | // The following GUID is for the ID of the typelib if this project is exposed to COM 13 | [assembly: Guid("092064fb-64f9-412d-beb3-4f4f98209db3")] -------------------------------------------------------------------------------- /src/Cake.NuGet/INuGetPackageInstaller.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Core.Packaging; 6 | 7 | namespace Cake.NuGet 8 | { 9 | /// 10 | /// Represents a NuGet package installer. 11 | /// 12 | public interface INuGetPackageInstaller : IPackageInstaller 13 | { 14 | } 15 | } -------------------------------------------------------------------------------- /src/Cake.Testing.Xunit/Cake.Testing.Xunit.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | Cake.Testing.Xunit 4 | Library 5 | AnyCpu 6 | true 7 | 8 | 9 | 10 | Contains Xunit testing utilities for Cake. 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /src/Cake.Testing.Xunit/NonWindowsFactAttribute.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using System; 6 | using Cake.Core; 7 | 8 | namespace Cake.Testing.Xunit 9 | { 10 | [AttributeUsage(AttributeTargets.Method, AllowMultiple = false)] 11 | public sealed class NonWindowsFactAttribute : PlatformRestrictedFactAttribute 12 | { 13 | public NonWindowsFactAttribute(string reason = null) 14 | : base(PlatformFamily.Windows, true, reason) 15 | { 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /src/Cake.Testing.Xunit/NonWindowsTheoryAttribute.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using System; 6 | using Cake.Core; 7 | 8 | namespace Cake.Testing.Xunit 9 | { 10 | [AttributeUsage(AttributeTargets.Method, AllowMultiple = false)] 11 | public sealed class NonWindowsTheoryAttribute : PlatformRestrictedTheoryAttribute 12 | { 13 | public NonWindowsTheoryAttribute(string reason = null) 14 | : base(PlatformFamily.Windows, true, reason) 15 | { 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /src/Cake.Testing.Xunit/TestRuntime.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using System; 6 | 7 | namespace Cake.Testing.Xunit 8 | { 9 | [Flags] 10 | public enum TestRuntime 11 | { 12 | Clr = 1, 13 | CoreClr = 2 14 | } 15 | } -------------------------------------------------------------------------------- /src/Cake.Testing.Xunit/WindowsTheoryAttribute.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using System; 6 | using Cake.Core; 7 | 8 | namespace Cake.Testing.Xunit 9 | { 10 | [AttributeUsage(AttributeTargets.Method, AllowMultiple = false)] 11 | public sealed class WindowsTheoryAttribute : PlatformRestrictedTheoryAttribute 12 | { 13 | public WindowsTheoryAttribute(string reason = null) 14 | : base(PlatformFamily.Windows, false, reason) 15 | { 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /src/Cake.Testing/Cake.Testing.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | Cake.Testing 4 | Library 5 | AnyCpu 6 | true 7 | 8 | 9 | 10 | Contains testing utilities for Cake. 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /src/Cake.Tests/Fakes/FakeDebugger.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using Cake.Core.Diagnostics; 3 | 4 | namespace Cake.Tests.Fakes 5 | { 6 | public sealed class FakeDebugger : ICakeDebugger 7 | { 8 | public bool Attached { get; set; } 9 | 10 | public void WaitForAttach(TimeSpan timeout) 11 | { 12 | Attached = true; 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/Cake.Tests/Fakes/FakeRemainingArguments.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using Spectre.Console.Cli; 5 | 6 | namespace Cake.Tests.Fakes 7 | { 8 | public sealed class FakeRemainingArguments : IRemainingArguments 9 | { 10 | public ILookup Parsed { get; } 11 | 12 | public IReadOnlyList Raw => throw new NotImplementedException(); 13 | 14 | public FakeRemainingArguments(IDictionary arguments) 15 | { 16 | Parsed = (arguments ?? new Dictionary()) 17 | .ToLookup(x => x.Key, x => x.Value, StringComparer.OrdinalIgnoreCase); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /src/Cake.Tests/Fakes/FakeScriptEngine.cs: -------------------------------------------------------------------------------- 1 | using Cake.Core.Scripting; 2 | 3 | namespace Cake.Tests.Fakes 4 | { 5 | public sealed class FakeScriptEngine : IScriptEngine 6 | { 7 | public IScriptHost ScriptHost { get; set; } 8 | public FakeScriptSession Session { get; } 9 | 10 | public FakeScriptEngine() 11 | { 12 | Session = new FakeScriptSession(); 13 | } 14 | 15 | public IScriptSession CreateSession(IScriptHost host) 16 | { 17 | ScriptHost = host; 18 | return Session; 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/Cake.Tests/Fakes/FakeVersionResolver.cs: -------------------------------------------------------------------------------- 1 | using Cake.Cli; 2 | 3 | namespace Cake.Tests.Fakes 4 | { 5 | public sealed class FakeVersionResolver : IVersionResolver 6 | { 7 | private readonly string _version; 8 | private readonly string _product; 9 | 10 | public FakeVersionResolver(string version, string product) 11 | { 12 | _version = version; 13 | _product = product; 14 | } 15 | 16 | public string GetVersion() 17 | { 18 | return _version; 19 | } 20 | 21 | public string GetProductVersion() 22 | { 23 | return _product; 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /src/Cake.Tests/Fixtures/BuildFeatureFixtureResult.cs: -------------------------------------------------------------------------------- 1 | using Cake.Core.Scripting; 2 | 3 | namespace Cake.Tests.Fixtures 4 | { 5 | public sealed class BuildFeatureFixtureResult 6 | { 7 | public int ExitCode { get; set; } 8 | public bool AttachedDebugger { get; set; } 9 | public Script ExecutedScript { get; set; } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/Cake.Tests/Fixtures/ProgramFixtureResult.cs: -------------------------------------------------------------------------------- 1 | namespace Cake.Tests.Fixtures 2 | { 3 | public sealed class ProgramFixtureResult 4 | { 5 | public int ExitCode { get; set; } 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /src/Cake/App.config: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/Cake/Features/Bootstrapping/BootstrapFeatureSettings.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Core.Diagnostics; 6 | using Cake.Core.IO; 7 | 8 | namespace Cake.Features.Bootstrapping 9 | { 10 | public class BootstrapFeatureSettings 11 | { 12 | public FilePath Script { get; set; } 13 | public Verbosity Verbosity { get; set; } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/Cake/Features/Building/BuildHostKind.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | namespace Cake.Features.Building 6 | { 7 | public enum BuildHostKind 8 | { 9 | Build, 10 | DryRun, 11 | Description, 12 | Tree 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/Cake/Infrastructure/IContainerConfigurator.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Core; 6 | using Cake.Core.Composition; 7 | using Cake.Core.Configuration; 8 | 9 | namespace Cake.Infrastructure 10 | { 11 | /// 12 | /// Responsible for registering all dependencies 13 | /// that is required for executing a script. 14 | /// 15 | public interface IContainerConfigurator 16 | { 17 | void Configure( 18 | ICakeContainerRegistrar registrar, 19 | ICakeConfiguration configuration, 20 | ICakeArguments arguments); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/Cake/Infrastructure/IScriptHostSettings.cs: -------------------------------------------------------------------------------- 1 | // Licensed to the .NET Foundation under one or more agreements. 2 | // The .NET Foundation licenses this file to you under the MIT license. 3 | // See the LICENSE file in the project root for more information. 4 | 5 | using Cake.Core.IO; 6 | 7 | namespace Cake.Infrastructure 8 | { 9 | public interface IScriptHostSettings 10 | { 11 | bool Debug { get; } 12 | 13 | FilePath Script { get; } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /src/Cake/runtimeconfig.template.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://gist.githubusercontent.com/natemcmaster/0bdee16450f8ec1823f2c11af880ceeb/raw/runtimeconfig.template.schema.json", 3 | // '2' allows for major-version roll-forward 4 | "rollForwardOnNoCandidateFx": 2 5 | } -------------------------------------------------------------------------------- /src/Directory.Build.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | $(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb 4 | true 5 | true 6 | 7 | 8 | -------------------------------------------------------------------------------- /src/xunit.runner.json: -------------------------------------------------------------------------------- 1 | { "appDomain": "denied" } -------------------------------------------------------------------------------- /tests/integration/.gitignore: -------------------------------------------------------------------------------- 1 | # Misc folders 2 | tools/ 3 | temp/ 4 | .dotnet/ 5 | 6 | # Dotnet 7 | .dotnet 8 | 9 | # Windows 10 | Thumbs.db 11 | -------------------------------------------------------------------------------- /tests/integration/Cake.Common/Build/BuildSystemAliases.cake: -------------------------------------------------------------------------------- 1 | #load "GitHubActions/GitHubActionsProvider.cake" 2 | #load "AzurePipelines/AzurePipelinesProvider.cake" 3 | 4 | Task("Cake.Common.Build.BuildSystemAliases.BuildProvider") 5 | .DoesForEach( 6 | () => Enum.GetValues(typeof(BuildProvider)).OfType(), 7 | item => { 8 | Information("{0}: {1}", item, (BuildSystem.Provider & item) == item); 9 | }); 10 | 11 | 12 | Task("Cake.Common.Build.BuildSystemAliases") 13 | .IsDependentOn("Cake.Common.Build.BuildSystemAliases.BuildProvider") 14 | .IsDependentOn("Cake.Common.Build.GitHubActionsProvider") 15 | .IsDependentOn("Cake.Common.Build.AzurePipelinesProvider"); -------------------------------------------------------------------------------- /tests/integration/Cake.Core/Diagnostics/ICakeLog.cake: -------------------------------------------------------------------------------- 1 | Task("Cake.Core.Diagnostics.LogEscapedBraces") 2 | .Does(() => { 3 | Context.Log.Debug( 4 | Verbosity.Normal, 5 | string.Format("Executing: {0}", "if ($LASTEXITCODE -gt 0) {{ throw \"script failed with exit code $LASTEXITCODE\" }}") 6 | ); 7 | }); 8 | 9 | 10 | Task("Cake.Core.Diagnostics") 11 | .IsDependentOn("Cake.Core.Diagnostics.LogEscapedBraces"); -------------------------------------------------------------------------------- /tests/integration/Cake.Core/Scripting/Dynamic.cake: -------------------------------------------------------------------------------- 1 | using System.Dynamic; 2 | 3 | Task("Cake.Core.Scripting.Dynamic") 4 | .Does(() => 5 | { 6 | dynamic result = new ExpandoObject(); 7 | result.Result = true; 8 | 9 | Assert.True(result.Result); 10 | }); -------------------------------------------------------------------------------- /tests/integration/Cake.Core/Scripting/SpectreConsole.cake: -------------------------------------------------------------------------------- 1 | using Spectre.Console; 2 | 3 | Task("Cake.Core.Scripting.Spectre.Console.FigletText") 4 | .Does(() => 5 | { 6 | AnsiConsole.Render( 7 | new FigletText("Cake") 8 | .LeftJustified() 9 | .Color(Color.Red)); 10 | }); 11 | 12 | Task("Cake.Core.Scripting.Spectre.Console") 13 | .IsDependentOn("Cake.Core.Scripting.Spectre.Console.FigletText"); 14 | -------------------------------------------------------------------------------- /tests/integration/Cake.Core/Scripting/SystemCollections.cake: -------------------------------------------------------------------------------- 1 | Task("Cake.Core.Scripting.SystemCollections.ToDictionary") 2 | .Does(() => 3 | { 4 | var dictionary = Array.Empty().ToDictionary(key => key, value=>value); 5 | }); 6 | 7 | ////////////////////////////////////////////////////////////////////////////// 8 | 9 | Task("Cake.Core.Scripting.SystemCollections") 10 | .IsDependentOn("Cake.Core.Scripting.SystemCollections.ToDictionary"); -------------------------------------------------------------------------------- /tests/integration/Cake.Core/Scripting/UsingDirective.cake: -------------------------------------------------------------------------------- 1 | using static System.Math; 2 | 3 | Task("Cake.Core.Scripting.UsingDirective.UsingStatic") 4 | .Does(() => 5 | { 6 | Information(Round(1.1)); 7 | }); 8 | 9 | Task("Cake.Core.Scripting.UsingDirective.UsingDisposable") 10 | .Does(() => 11 | { 12 | // Intentionally not indented 13 | using var @string = new StringReader("String"); 14 | using var reader = new StringReader("Reader"); 15 | Information("{0}{1}", @string.ReadLine(), reader.ReadLine()); 16 | }); 17 | 18 | ////////////////////////////////////////////////////////////////////////////// 19 | 20 | Task("Cake.Core.Scripting.UsingDirective") 21 | .IsDependentOn("Cake.Core.Scripting.UsingDirective.UsingStatic") 22 | .IsDependentOn("Cake.Core.Scripting.UsingDirective.UsingDisposable"); -------------------------------------------------------------------------------- /tests/integration/Cake.Frosting/build/Build.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | Exe 5 | net8.0;net9.0 6 | true 7 | 8 | 9 | $(MSBuildProjectDirectory)\.. 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /tests/integration/Cake.Frosting/build/Context.cs: -------------------------------------------------------------------------------- 1 | using Cake.Core; 2 | using Cake.Frosting; 3 | 4 | public class Context : FrostingContext 5 | { 6 | public Context(ICakeContext context) 7 | : base(context) 8 | { 9 | } 10 | } -------------------------------------------------------------------------------- /tests/integration/Cake.Frosting/build/Lifetime.cs: -------------------------------------------------------------------------------- 1 | using Cake.Common.Diagnostics; 2 | using Cake.Core; 3 | using Cake.Frosting; 4 | 5 | public sealed class Lifetime : FrostingLifetime 6 | { 7 | public override void Setup(Context context, ISetupContext info) 8 | { 9 | context.Information("Setting things up..."); 10 | } 11 | 12 | public override void Teardown(Context context, ITeardownContext info) 13 | { 14 | context.Information("Tearing things down..."); 15 | } 16 | } -------------------------------------------------------------------------------- /tests/integration/Cake.Frosting/build/Program.cs: -------------------------------------------------------------------------------- 1 | using Cake.Core; 2 | using Cake.Frosting; 3 | using Microsoft.Extensions.DependencyInjection; 4 | 5 | public class Program : IFrostingStartup 6 | { 7 | public static int Main(string[] args) 8 | => new CakeHost() 9 | .UseStartup() 10 | .Run(args); 11 | 12 | public void Configure(IServiceCollection services) 13 | { 14 | services.UseContext(); 15 | services.UseLifetime(); 16 | services.UseTool(new System.Uri("nuget:?package=xunit.runner.console")); 17 | services.UseWorkingDirectory(".."); 18 | } 19 | } -------------------------------------------------------------------------------- /tests/integration/Cake.Frosting/build/Tasks/Default.cs: -------------------------------------------------------------------------------- 1 | using Cake.Frosting; 2 | 3 | [IsDependentOn(typeof(Hello))] 4 | public sealed class Default : FrostingTask 5 | { 6 | } -------------------------------------------------------------------------------- /tests/integration/Cake.Frosting/build/Tasks/Hello.cs: -------------------------------------------------------------------------------- 1 | using Cake.Common; 2 | using Cake.Common.Diagnostics; 3 | using Cake.Frosting; 4 | 5 | [TaskName("Hello")] 6 | public sealed class Hello : FrostingTask 7 | { 8 | public override void Run(Context context) 9 | { 10 | context.Information("Hello {0}", context.Argument("name")); 11 | } 12 | } -------------------------------------------------------------------------------- /tests/integration/Cake.Frosting/cake.config: -------------------------------------------------------------------------------- 1 | [Paths] 2 | Tools=../tools/frostingtools -------------------------------------------------------------------------------- /tests/integration/build.ps1: -------------------------------------------------------------------------------- 1 | [CmdletBinding()] 2 | Param( 3 | [string]$Target = "Run-All-Tests", 4 | [switch]$SkipBuildingCake 5 | ) 6 | 7 | $Exclusive = '' 8 | if ($SkipBuildingCake.IsPresent) 9 | { 10 | $Exclusive = '--exclusive' 11 | } 12 | 13 | $PSScriptRoot = split-path -parent $MyInvocation.MyCommand.Definition 14 | $RootDirectory = (Join-Path $PSScriptRoot "../..") 15 | 16 | 17 | # Build Cake. 18 | try { 19 | Push-Location 20 | Set-Location $RootDirectory 21 | & "$RootDirectory\build.ps1" --target="Run-Integration-Tests" --integration-tests-target="$Target" $Exclusive 22 | if($LASTEXITCODE -ne 0) { 23 | Throw "An error occurred while building Cake." 24 | } 25 | } 26 | finally { 27 | Pop-Location 28 | } -------------------------------------------------------------------------------- /tests/integration/build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | TARGET="Run-All-Tests" 4 | SCRIPT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) 5 | ROOT_DIR=$SCRIPT_DIR/../.. 6 | 7 | # Parse arguments. 8 | for i in "$@"; do 9 | case $1 in 10 | -t|--target) TARGET="$2"; shift ;; 11 | -s|--skipbuildingcake) SKIP_BUILDING_CAKE="--exclusive" ;; 12 | esac 13 | shift 14 | done 15 | 16 | 17 | ##################################################################### 18 | # RUN TESTS 19 | ##################################################################### 20 | 21 | pushd $ROOT_DIR >/dev/null 22 | ./build.sh --target="Run-Integration-Tests" --integration-tests-target="$TARGET" $SKIP_BUILDING_CAKE 23 | INTEGRATION_TEST_EXIT_CODE=$? 24 | popd >/dev/null 25 | exit "$INTEGRATION_TEST_EXIT_CODE" -------------------------------------------------------------------------------- /tests/integration/resources/Cake.Common/IO/Root/Dir1/File2.txt: -------------------------------------------------------------------------------- 1 | 22 -------------------------------------------------------------------------------- /tests/integration/resources/Cake.Common/IO/Root/Dir2/Dir3/File4.txt: -------------------------------------------------------------------------------- 1 | 4444 -------------------------------------------------------------------------------- /tests/integration/resources/Cake.Common/IO/Root/Dir2/Dir3/File5.txt: -------------------------------------------------------------------------------- 1 | 55555 -------------------------------------------------------------------------------- /tests/integration/resources/Cake.Common/IO/Root/Dir2/File3.txt: -------------------------------------------------------------------------------- 1 | 333 -------------------------------------------------------------------------------- /tests/integration/resources/Cake.Common/IO/Root/File1.txt: -------------------------------------------------------------------------------- 1 | 1 -------------------------------------------------------------------------------- /tests/integration/resources/Cake.Common/IO/testfile.txt: -------------------------------------------------------------------------------- 1 | The Test! -------------------------------------------------------------------------------- /tests/integration/resources/Cake.Common/IO/testfile.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cake-build/cake/92ef1379306c37efe3d9bf6547f31a2e5d3a80f1/tests/integration/resources/Cake.Common/IO/testfile.zip -------------------------------------------------------------------------------- /tests/integration/resources/Cake.Common/ReleaseNotes.md: -------------------------------------------------------------------------------- 1 | ### New on 0.15.2 (Released 2016/07/29) 2 | 3 | * Ensured that WiX candle definitions are enclosed in quotes 4 | * Corrected issue with WixHeat HarvestType Out parameter 5 | 6 | ### New on 0.15.1 (Released 2016/07/28) 7 | 8 | * Corrected Issues found with 0.15.0 AppVeyor updates 9 | -------------------------------------------------------------------------------- /tests/integration/resources/Cake.Common/ReleaseNotesSemVer.md: -------------------------------------------------------------------------------- 1 | ### New on 0.15.2-alpha001 (Released 2016/07/29) 2 | 3 | * Ensured that WiX candle definitions are enclosed in quotes 4 | * Corrected issue with WixHeat HarvestType Out parameter 5 | 6 | ### New on 0.15.1-beta001 (Released 2016/07/28) 7 | 8 | * Corrected Issues found with 0.15.0 AppVeyor updates 9 | -------------------------------------------------------------------------------- /tests/integration/resources/Cake.Common/Security/testfile.txt: -------------------------------------------------------------------------------- 1 | Cake.Common.Security.SecurityAliases -------------------------------------------------------------------------------- /tests/integration/resources/Cake.Common/Solution/Project/XmlDoc/Common.XML: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Common 5 | 6 | 7 | 8 | 9 | This is a common class. 10 | 11 | 12 | 13 | 14 | Does common methody things. 15 | 16 | 17 | 18 | CommonClass.CommonMethod(); 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /tests/integration/resources/Cake.Common/Solution/Project/XmlDoc/Core.XML: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Core 5 | 6 | 7 | 8 | 9 | This is a core class. 10 | 11 | 12 | 13 | 14 | Does core methody things. 15 | 16 | 17 | 18 | CoreClass.CoreMethod(); 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /tests/integration/resources/Cake.Common/Text/customtemplate.txt: -------------------------------------------------------------------------------- 1 | Hello {subject}! -------------------------------------------------------------------------------- /tests/integration/resources/Cake.Common/Text/template.txt: -------------------------------------------------------------------------------- 1 | Hello <%subject%>! -------------------------------------------------------------------------------- /tests/integration/resources/Cake.Common/Tools/Cake/build.cake: -------------------------------------------------------------------------------- 1 | System.Environment.Exit(0); -------------------------------------------------------------------------------- /tests/integration/resources/Cake.Common/Tools/Cake/targets.cake: -------------------------------------------------------------------------------- 1 | #load "../../../../utilities/xunit.cake" 2 | 3 | Setup(ctx => new List()); 4 | 5 | Teardown>((ctx, data)=>{ 6 | var result = string.Join(',', data); 7 | var expected = ctx.Argument("expected", string.Empty); 8 | Assert.Equal(expected, result); 9 | }); 10 | 11 | TaskTeardown>((ctx, data) => data.Add(ctx.Task.Name)); 12 | 13 | Task("A") 14 | .Does(_=>{}); 15 | 16 | Task("B") 17 | .Does(_=>{}); 18 | 19 | Task("C") 20 | .Does(_=>{}); 21 | 22 | Task("D") 23 | .Does(_=>{}) 24 | .IsDependentOn("E"); 25 | 26 | Task("E") 27 | .Does(_=>{}); 28 | 29 | Task("Default"); 30 | 31 | RunTargets(Arguments("target", new []{ "Default" })) -------------------------------------------------------------------------------- /tests/integration/resources/Cake.Common/Tools/Cake/test.cake: -------------------------------------------------------------------------------- 1 | System.Environment.Exit((Argument("ok", "no")=="yes") ? 0 : 1); -------------------------------------------------------------------------------- /tests/integration/resources/Cake.Common/Tools/DotNet/hwapp.common/Greeter.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace HWApp.Common 4 | { 5 | public static class Greeter 6 | { 7 | public static string GetGreeting(string name) 8 | { 9 | if (string.IsNullOrEmpty(name)) 10 | { 11 | throw new ArgumentNullException(nameof(name)); 12 | } 13 | 14 | return $"Hello {name}!"; 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /tests/integration/resources/Cake.Common/Tools/DotNet/hwapp.common/hwapp.common.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | netstandard2.0 4 | 5 | -------------------------------------------------------------------------------- /tests/integration/resources/Cake.Common/Tools/DotNet/hwapp/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using HWApp.Common; 3 | 4 | namespace HWApp 5 | { 6 | public class Program 7 | { 8 | public static void Main(string[] args) 9 | { 10 | Console.WriteLine(Greeter.GetGreeting("World")); 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /tests/integration/resources/Cake.Common/Tools/DotNet/hwapp/hwapp.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | Exe 4 | net9.0 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /tests/integration/resources/Cake.Common/Tools/NuGet/NuGet.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /tests/integration/resources/Cake.Common/Tools/TextTransform/HelloWorld.tt: -------------------------------------------------------------------------------- 1 | <#@ parameter name='FirstName' #> 2 | <#@ parameter name='LastName' #> 3 | Hello <#=FirstName#> <#=LastName#>! -------------------------------------------------------------------------------- /tests/integration/resources/Cake.Core/Scripting/Globber/nothrow.cake: -------------------------------------------------------------------------------- 1 | Task("Cake.Core.Scripting.LoadDirective.Globber.NoThrow") 2 | .Does(() => 3 | { 4 | }); 5 | 6 | loadDirectiveTask 7 | .IsDependentOn("Cake.Core.Scripting.LoadDirective.Globber.NoThrow"); -------------------------------------------------------------------------------- /tests/integration/resources/Cake.Core/Scripting/Globber/throws.cake: -------------------------------------------------------------------------------- 1 | Task("Cake.Core.Scripting.LoadDirective.Globber.Throws") 2 | .Does(() => 3 | { 4 | throw new InvalidOperationException(); 5 | }); 6 | 7 | loadDirectiveTask 8 | .IsDependentOn("Cake.Core.Scripting.LoadDirective.Globber.Throws"); -------------------------------------------------------------------------------- /tests/integration/resources/Cake.Core/Scripting/TestClass.cs: -------------------------------------------------------------------------------- 1 | public class TestClass 2 | { 3 | public static bool IsTestClass => true; 4 | } -------------------------------------------------------------------------------- /tests/integration/resources/Cake.Core/Scripting/addin/addin.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /tests/integration/resources/Cake.Core/Scripting/file with spaces.cake: -------------------------------------------------------------------------------- 1 | // Nothing here 2 | int nop = 0; -------------------------------------------------------------------------------- /tests/integration/resources/Cake.Core/testfile1.txt: -------------------------------------------------------------------------------- 1 | Test core file 1! 2 | -------------------------------------------------------------------------------- /tests/integration/resources/Cake.Core/testfile2.txt: -------------------------------------------------------------------------------- 1 | Test core file 2! 2 | -------------------------------------------------------------------------------- /tests/integration/resources/Cake.Core/testfile3.txt: -------------------------------------------------------------------------------- 1 | Test core file 3! 2 | -------------------------------------------------------------------------------- /tests/integration/resources/Cake/ScriptCache/Config/build.cake: -------------------------------------------------------------------------------- 1 | Information("Hello from compiled script!"); 2 | -------------------------------------------------------------------------------- /tests/integration/resources/Cake/ScriptCache/Config/cake.config: -------------------------------------------------------------------------------- 1 | [Paths] 2 | Cache=%TEST_ROOT_PATH%/cake-build/%TEST_LEAF_PATH% -------------------------------------------------------------------------------- /tests/integration/resources/Cake/ScriptCache/build.cake: -------------------------------------------------------------------------------- 1 | Information("Hello from compiled script!"); 2 | -------------------------------------------------------------------------------- /tests/integration/teardown.cake: -------------------------------------------------------------------------------- 1 | // Utilities 2 | #load "./utilities/paths.cake" 3 | #load "./utilities/xunit.cake" 4 | #load "./utilities/context.cake" 5 | 6 | ////////////////////////////////////////////////// 7 | // TEARDOWN 8 | ////////////////////////////////////////////////// 9 | 10 | Teardown(teardownContext => 11 | { 12 | teardownContext.Log.Information("Running regular teardown."); 13 | }); 14 | 15 | Teardown((teardownContext, data) => 16 | { 17 | Assert.NotNull(data); 18 | Assert.True(data.Initialized); 19 | }); 20 | 21 | Teardown((teardownContext, data) => 22 | { 23 | Assert.NotNull(data); 24 | Assert.True(data.EnginesStarted); 25 | }); -------------------------------------------------------------------------------- /tests/integration/utilities/context.cake: -------------------------------------------------------------------------------- 1 | public sealed class ScriptContext 2 | { 3 | public bool Initialized { get; } 4 | 5 | public ScriptContext(bool initialized) 6 | { 7 | Initialized = initialized; 8 | } 9 | } 10 | 11 | public sealed class AlternativeScriptContext 12 | { 13 | public bool EnginesStarted { get; } 14 | 15 | public AlternativeScriptContext(bool initialized) 16 | { 17 | EnginesStarted = initialized; 18 | } 19 | } -------------------------------------------------------------------------------- /tests/integration/utilities/paths.cake: -------------------------------------------------------------------------------- 1 | public static class Paths 2 | { 3 | public static DirectoryPath TestRoot { get; private set; } 4 | public static DirectoryPath Temp { get; private set; } 5 | public static DirectoryPath Resources { get; private set; } 6 | 7 | public static void Initialize(ICakeContext context) 8 | { 9 | TestRoot = new DirectoryPath("./").MakeAbsolute(context.Environment); 10 | Temp = new DirectoryPath("./temp").MakeAbsolute(context.Environment); 11 | Resources = new DirectoryPath("./resources").MakeAbsolute(context.Environment); 12 | } 13 | } 14 | 15 | Paths.Initialize(Context); -------------------------------------------------------------------------------- /tests/integration/utilities/xunit.cake: -------------------------------------------------------------------------------- 1 | #addin "nuget:?package=xunit.assert&version=2.4.1" 2 | 3 | // Usings 4 | using Xunit; 5 | 6 | public class Record 7 | { 8 | public static Exception Exception(Action action) 9 | { 10 | if (action == null) 11 | { 12 | throw new ArgumentNullException("action"); 13 | } 14 | 15 | try 16 | { 17 | action(); 18 | return null; 19 | } 20 | catch (Exception ex) 21 | { 22 | return ex; 23 | } 24 | } 25 | } --------------------------------------------------------------------------------