diff --git a/src/Cake.Common.Tests/Fixtures/Build/BitbucketPipelinesInfoFixture.cs b/src/Cake.Common.Tests/Fixtures/Build/BitbucketPipelinesInfoFixture.cs index fb2c194875..f621fc1a11 100644 --- a/src/Cake.Common.Tests/Fixtures/Build/BitbucketPipelinesInfoFixture.cs +++ b/src/Cake.Common.Tests/Fixtures/Build/BitbucketPipelinesInfoFixture.cs @@ -16,12 +16,12 @@ public BitbucketPipelinesInfoFixture() { Environment = Substitute.For(); - // BitbucketPiplines RepositoryInfo + // BitbucketPipelines RepositoryInfo Environment.GetEnvironmentVariable("BITBUCKET_COMMIT").Returns("4efbc1ffb993dfbcf024e6a9202865cc0b6d9c50"); Environment.GetEnvironmentVariable("BITBUCKET_REPO_SLUG").Returns("cake"); Environment.GetEnvironmentVariable("BITBUCKET_REPO_OWNER").Returns("cakebuild"); Environment.GetEnvironmentVariable("BITBUCKET_BRANCH").Returns("develop"); - Environment.GetEnvironmentVariable("BITBUCKET_TAG").Returns("BitbucketPiplines"); + Environment.GetEnvironmentVariable("BITBUCKET_TAG").Returns("BitbucketPipelines"); } public BitbucketPipelinesEnvironmentInfo CreateEnvironmentInfo() diff --git a/src/Cake.Common.Tests/Fixtures/Diagnostics/LogActionFixture.cs b/src/Cake.Common.Tests/Fixtures/Diagnostics/LogActionFixture.cs index da8633b8b0..bd8824704b 100644 --- a/src/Cake.Common.Tests/Fixtures/Diagnostics/LogActionFixture.cs +++ b/src/Cake.Common.Tests/Fixtures/Diagnostics/LogActionFixture.cs @@ -20,7 +20,7 @@ public void Log(LogActionEntry actionEntry) { if (Evaluated) { - throw new Exception("Message allready evaluated"); + throw new Exception("Message already evaluated"); } Evaluated = true; actionEntry(Format, Args); diff --git a/src/Cake.Common.Tests/Unit/Build/BitbucketPipelines/Data/BitbucketPipelinesRepositoryInfoTests.cs b/src/Cake.Common.Tests/Unit/Build/BitbucketPipelines/Data/BitbucketPipelinesRepositoryInfoTests.cs index 2d1f9f7abf..5a450ac088 100644 --- a/src/Cake.Common.Tests/Unit/Build/BitbucketPipelines/Data/BitbucketPipelinesRepositoryInfoTests.cs +++ b/src/Cake.Common.Tests/Unit/Build/BitbucketPipelines/Data/BitbucketPipelinesRepositoryInfoTests.cs @@ -85,7 +85,7 @@ public void Should_Return_Correct_Value() var result = info.Tag; // Then - Assert.Equal("BitbucketPiplines", result); + Assert.Equal("BitbucketPipelines", result); } } } diff --git a/src/Cake.Common/Build/Bamboo/Data/BambooEnvironmentInfo.cs b/src/Cake.Common/Build/Bamboo/Data/BambooEnvironmentInfo.cs index 4085903492..27ca04bc5a 100644 --- a/src/Cake.Common/Build/Bamboo/Data/BambooEnvironmentInfo.cs +++ b/src/Cake.Common/Build/Bamboo/Data/BambooEnvironmentInfo.cs @@ -100,9 +100,8 @@ public sealed class BambooEnvironmentInfo : BambooInfo /// BuildSystem.Bamboo.Environment.Build.ResultKey, /// BuildSystem.Bamboo.Environment.Build.ResultsUrl, /// BuildSystem.Bamboo.Environment.Build.BuildTimestamp, - /// BuildSystem.Bamboo.Environment.Build.CustomBuild.IsCustomBuld, - /// BuildSystem.Bamboo.Environment.Build.CustomBuild.RevisionName - /// ); + /// BuildSystem.Bamboo.Environment.Build.CustomBuild.IsCustomBuild, + /// BuildSystem.Bamboo.Environment.Build.CustomBuild.RevisionName); /// } /// else /// { @@ -131,9 +130,8 @@ public sealed class BambooEnvironmentInfo : BambooInfo /// Bamboo.Environment.Build.ResultKey, /// Bamboo.Environment.Build.ResultsUrl, /// Bamboo.Environment.Build.BuildTimestamp, - /// Bamboo.Environment.Build.CustomBuild.IsCustomBuld, - /// Bamboo.Environment.Build.CustomBuild.RevisionName - /// ); + /// Bamboo.Environment.Build.CustomBuild.IsCustomBuild, + /// Bamboo.Environment.Build.CustomBuild.RevisionName); /// } /// else /// { diff --git a/src/Cake.Common/Build/ContinuaCI/Data/ContinuaCIBuildInfo.cs b/src/Cake.Common/Build/ContinuaCI/Data/ContinuaCIBuildInfo.cs index 51f05e9db7..862da4eff2 100644 --- a/src/Cake.Common/Build/ContinuaCI/Data/ContinuaCIBuildInfo.cs +++ b/src/Cake.Common/Build/ContinuaCI/Data/ContinuaCIBuildInfo.cs @@ -20,7 +20,7 @@ public sealed class ContinuaCIBuildInfo : ContinuaCIInfo /// Initializes a new instance of the class. /// /// The environment. - /// The prefix for environment variables in this clas + /// The prefix for environment variables in this class. public ContinuaCIBuildInfo(ICakeEnvironment environment, string prefix) : base(environment) { diff --git a/src/Cake.Common/Build/Jenkins/IJenkinsProvider.cs b/src/Cake.Common/Build/Jenkins/IJenkinsProvider.cs index eb96464980..157aa15e01 100644 --- a/src/Cake.Common/Build/Jenkins/IJenkinsProvider.cs +++ b/src/Cake.Common/Build/Jenkins/IJenkinsProvider.cs @@ -7,7 +7,7 @@ namespace Cake.Common.Build.Jenkins { /// - /// Represnts a Jenkins Provider + /// Represents a Jenkins Provider /// public interface IJenkinsProvider { diff --git a/src/Cake.Common/Build/TFBuild/Data/TFBuildPublishTestResultsData.cs b/src/Cake.Common/Build/TFBuild/Data/TFBuildPublishTestResultsData.cs index 869c4b6f02..992d5e89e8 100644 --- a/src/Cake.Common/Build/TFBuild/Data/TFBuildPublishTestResultsData.cs +++ b/src/Cake.Common/Build/TFBuild/Data/TFBuildPublishTestResultsData.cs @@ -16,7 +16,7 @@ namespace Cake.Common.Build.TFBuild.Data public class TFBuildPublishTestResultsData { /// - /// Gets or Sets the type test runner the results are formated in + /// Gets or Sets the type test runner the results are formatted in /// public TFTestRunnerType? TestRunner { get; set; } diff --git a/src/Cake.Common/Build/TFBuild/ITFBuildCommands.cs b/src/Cake.Common/Build/TFBuild/ITFBuildCommands.cs index a526170923..ed2c690ac6 100644 --- a/src/Cake.Common/Build/TFBuild/ITFBuildCommands.cs +++ b/src/Cake.Common/Build/TFBuild/ITFBuildCommands.cs @@ -73,7 +73,7 @@ public interface ITFBuildCommands /// Type of the new timeline record. /// Order of the timeline record. /// Additional data for the new timeline record. - /// The timeilne record ID. + /// The timeline record ID. Guid CreateNewRecord(string name, string type, int order, TFBuildRecordData data); /// diff --git a/src/Cake.Common/Build/TFBuild/TFBuildCommands.cs b/src/Cake.Common/Build/TFBuild/TFBuildCommands.cs index 106b6f4dcf..1d18e7ea10 100644 --- a/src/Cake.Common/Build/TFBuild/TFBuildCommands.cs +++ b/src/Cake.Common/Build/TFBuild/TFBuildCommands.cs @@ -150,7 +150,7 @@ public Guid CreateNewRecord(string name, string type, int order) /// Type of the new timeline record. /// Order of the timeline record. /// Additional data for the new timeline record. - /// The timeilne record ID. + /// The timeline record ID. public Guid CreateNewRecord(string name, string type, int order, TFBuildRecordData data) { var guid = Guid.NewGuid(); diff --git a/src/Cake.Common/Build/TravisCI/Data/TravisCIRepositoryInfo.cs b/src/Cake.Common/Build/TravisCI/Data/TravisCIRepositoryInfo.cs index a37bc5e4b9..804f8e7e4e 100644 --- a/src/Cake.Common/Build/TravisCI/Data/TravisCIRepositoryInfo.cs +++ b/src/Cake.Common/Build/TravisCI/Data/TravisCIRepositoryInfo.cs @@ -36,7 +36,7 @@ public sealed class TravisCIRepositoryInfo : TravisCIInfo public string PullRequest => GetEnvironmentString("TRAVIS_PULL_REQUEST"); /// - /// Gets the slug of the respository currently being built. + /// Gets the slug of the repository currently being built. /// /// /// The slug. diff --git a/src/Cake.Common/DryRunAliases.cs b/src/Cake.Common/DryRunAliases.cs index 6cb9151f19..e8d2d13b7a 100644 --- a/src/Cake.Common/DryRunAliases.cs +++ b/src/Cake.Common/DryRunAliases.cs @@ -28,7 +28,7 @@ public static class DryRunAliases /// if (!context.IsDryRun()) /// { /// // Do things that you don't want to - /// // do when script is being dry runned. + /// // do during a dry run. /// } /// }); /// diff --git a/src/Cake.Common/Net/DownloadFileSettings.cs b/src/Cake.Common/Net/DownloadFileSettings.cs index 4a2f60f733..6d0af6554d 100644 --- a/src/Cake.Common/Net/DownloadFileSettings.cs +++ b/src/Cake.Common/Net/DownloadFileSettings.cs @@ -10,12 +10,12 @@ namespace Cake.Common.Net public sealed class DownloadFileSettings { /// - /// Gets or sets the Username to use when downloading the file + /// Gets or sets the username to use when downloading the file /// public string Username { get; set; } /// - /// Gets or sets the Password to use when downloading the file + /// Gets or sets the password to use when downloading the file /// public string Password { get; set; } @@ -23,7 +23,7 @@ public sealed class DownloadFileSettings /// Gets or sets a value indicating whether default credentials are sent when downloading the file /// /// - /// If set to true, any Username and Password that has been speficied will be ignored. + /// If set to true, any username and password that has been specified will be ignored. /// public bool UseDefaultCredentials { get; set; } } diff --git a/src/Cake.Common/ProcessAliases.cs b/src/Cake.Common/ProcessAliases.cs index f6ad574461..827c27b3fd 100644 --- a/src/Cake.Common/ProcessAliases.cs +++ b/src/Cake.Common/ProcessAliases.cs @@ -170,7 +170,7 @@ public static int StartProcess(this ICakeContext context, FilePath fileName, Pro /// { /// throw new Exception( /// string.Format( - /// "Errors ocurred: {0}", + /// "Errors occurred: {0}", /// string.Join(", ", redirectedErrorOutput)); /// } /// diff --git a/src/Cake.Common/Tools/Chocolatey/ChocolateyToolResolver.cs b/src/Cake.Common/Tools/Chocolatey/ChocolateyToolResolver.cs index 4bc075da43..1afba299e3 100644 --- a/src/Cake.Common/Tools/Chocolatey/ChocolateyToolResolver.cs +++ b/src/Cake.Common/Tools/Chocolatey/ChocolateyToolResolver.cs @@ -44,7 +44,7 @@ public ChocolateyToolResolver(IFileSystem fileSystem, ICakeEnvironment environme /// The path to choco.exe. public FilePath ResolvePath() { - // Check if path allready resolved + // Check if path already resolved if (_cachedPath != null && _cachedPath.Exists) { return _cachedPath.Path; diff --git a/src/Cake.Common/Tools/Chocolatey/Config/ChocolateyConfigSetter.cs b/src/Cake.Common/Tools/Chocolatey/Config/ChocolateyConfigSetter.cs index d812e6e11e..9916b36bb9 100644 --- a/src/Cake.Common/Tools/Chocolatey/Config/ChocolateyConfigSetter.cs +++ b/src/Cake.Common/Tools/Chocolatey/Config/ChocolateyConfigSetter.cs @@ -33,7 +33,7 @@ public ChocolateyConfigSetter( } /// - /// Sets Chocolatey configuration paramaters using the settings. + /// Sets Chocolatey configuration parameters using the settings. /// /// The name of the config parameter. /// The value to assign to the parameter. diff --git a/src/Cake.Common/Tools/Chocolatey/Pack/ChocolateyPackSettings.cs b/src/Cake.Common/Tools/Chocolatey/Pack/ChocolateyPackSettings.cs index 2fa71af62a..51d2d0f7b0 100644 --- a/src/Cake.Common/Tools/Chocolatey/Pack/ChocolateyPackSettings.cs +++ b/src/Cake.Common/Tools/Chocolatey/Pack/ChocolateyPackSettings.cs @@ -80,7 +80,7 @@ public sealed class ChocolateyPackSettings : ToolSettings /// /// Gets or sets the package documentation URL. /// - /// The package documenation URL. + /// The package documentation URL. /// Requires at least Chocolatey 0.9.9.7. public Uri DocsUrl { get; set; } diff --git a/src/Cake.Common/Tools/Chocolatey/Uninstall/ChocolateyUninstallSettings.cs b/src/Cake.Common/Tools/Chocolatey/Uninstall/ChocolateyUninstallSettings.cs index e000c52b1b..1e8502a144 100644 --- a/src/Cake.Common/Tools/Chocolatey/Uninstall/ChocolateyUninstallSettings.cs +++ b/src/Cake.Common/Tools/Chocolatey/Uninstall/ChocolateyUninstallSettings.cs @@ -28,7 +28,7 @@ public sealed class ChocolateyUninstallSettings : ChocolateySettings public bool AllVersions { get; set; } /// - /// Gets or sets the uinstall arguments to pass to native installer. + /// Gets or sets the uninstall arguments to pass to native installer. /// public string UninstallArguments { get; set; } @@ -51,7 +51,7 @@ public sealed class ChocolateyUninstallSettings : ChocolateySettings public bool ForceDependencies { get; set; } /// - /// Gets or sets a value indicating whether to Exit with a 0 for success and 1 for non-succes + /// Gets or sets a value indicating whether to Exit with a 0 for success and 1 for non-success /// no matter what package scripts provide for exit codes. /// /// The ignore package exit codes flag diff --git a/src/Cake.Common/Tools/DotCover/DotCoverCoverageSettingsExtensions.cs b/src/Cake.Common/Tools/DotCover/DotCoverCoverageSettingsExtensions.cs index d754ae75f3..88a93d7aa4 100644 --- a/src/Cake.Common/Tools/DotCover/DotCoverCoverageSettingsExtensions.cs +++ b/src/Cake.Common/Tools/DotCover/DotCoverCoverageSettingsExtensions.cs @@ -68,7 +68,7 @@ public static T WithAttributeFilter(this T settings, string attributeFilter) /// Adds the filter /// /// The settings. - /// The processfilter. + /// The process filter. /// The settings type, derived from /// The same instance so that multiple calls can be chained. public static T WithProcessFilter(this T settings, string filter) where T : DotCoverCoverageSettings diff --git a/src/Cake.Common/Tools/DotNetCore/NuGet/Delete/DotNetCoreNuGetDeleter.cs b/src/Cake.Common/Tools/DotNetCore/NuGet/Delete/DotNetCoreNuGetDeleter.cs index fa8b94c7eb..17a375426a 100644 --- a/src/Cake.Common/Tools/DotNetCore/NuGet/Delete/DotNetCoreNuGetDeleter.cs +++ b/src/Cake.Common/Tools/DotNetCore/NuGet/Delete/DotNetCoreNuGetDeleter.cs @@ -10,7 +10,7 @@ namespace Cake.Common.Tools.DotNetCore.NuGet.Delete { /// - /// .NET Core nuget deleter, deletes or unlists a package from the server. + /// .NET Core nuget deleter. Deletes or unlists a package from the server. /// public sealed class DotNetCoreNuGetDeleter : DotNetCoreTool { diff --git a/src/Cake.Common/Tools/GitLink/GitLink3Settings.cs b/src/Cake.Common/Tools/GitLink/GitLink3Settings.cs index 80753fa598..17c61c5ea2 100644 --- a/src/Cake.Common/Tools/GitLink/GitLink3Settings.cs +++ b/src/Cake.Common/Tools/GitLink/GitLink3Settings.cs @@ -29,7 +29,7 @@ public sealed class GitLink3Settings : ToolSettings /// /// Gets or sets a value indicating whether the Use PowerShell Command option should be enabled. - /// This option will use PowerShell instead of HTTP in SRCSRV to retreive the source code. + /// This option will use PowerShell instead of HTTP in SRCSRV to retrieve the source code. /// public bool UsePowerShell { get; set; } diff --git a/src/Cake.Common/Tools/GitVersion/GitVersionOutput.cs b/src/Cake.Common/Tools/GitVersion/GitVersionOutput.cs index 12f78deec6..ce5da100e4 100644 --- a/src/Cake.Common/Tools/GitVersion/GitVersionOutput.cs +++ b/src/Cake.Common/Tools/GitVersion/GitVersionOutput.cs @@ -15,7 +15,7 @@ public enum GitVersionOutput Json, /// - /// Outputs to the stdout in a way usuable by a detected buildserver. + /// Outputs to the stdout in a way usable by a detected build server. /// BuildServer } diff --git a/src/Cake.Common/Tools/GitVersion/GitVersionSettings.cs b/src/Cake.Common/Tools/GitVersion/GitVersionSettings.cs index 5a59c3f053..6f33076dda 100644 --- a/src/Cake.Common/Tools/GitVersion/GitVersionSettings.cs +++ b/src/Cake.Common/Tools/GitVersion/GitVersionSettings.cs @@ -23,12 +23,12 @@ public sealed class GitVersionSettings : ToolSettings public GitVersionOutput? OutputType { get; set; } /// - /// Gets or sets a value indicating whether to update all the assemblyinfo files. + /// Gets or sets a value indicating whether to update all the AssemblyInfo files. /// public bool UpdateAssemblyInfo { get; set; } /// - /// Gets or sets whether to update all the assemblyinfo files. + /// Gets or sets whether to update all the AssemblyInfo files. /// public FilePath UpdateAssemblyInfoFilePath { get; set; } diff --git a/src/Cake.Common/Tools/MSBuild/MSBuildRunner.cs b/src/Cake.Common/Tools/MSBuild/MSBuildRunner.cs index 669a5d9bfb..fff6d37444 100644 --- a/src/Cake.Common/Tools/MSBuild/MSBuildRunner.cs +++ b/src/Cake.Common/Tools/MSBuild/MSBuildRunner.cs @@ -163,7 +163,7 @@ private ProcessArgumentBuilder GetArguments(FilePath solution, MSBuildSettings s } } - // Treat errors as warníngs? + // Treat errors as warnings? if (settings.WarningsAsErrorCodes.Any()) { var codes = string.Join(";", settings.WarningsAsErrorCodes); diff --git a/src/Cake.Common/Tools/MSBuild/MSBuildSettingsExtensions.cs b/src/Cake.Common/Tools/MSBuild/MSBuildSettingsExtensions.cs index 7044cba881..382c5510fd 100644 --- a/src/Cake.Common/Tools/MSBuild/MSBuildSettingsExtensions.cs +++ b/src/Cake.Common/Tools/MSBuild/MSBuildSettingsExtensions.cs @@ -277,7 +277,7 @@ public static MSBuildSettings AddFileLogger(this MSBuildSettings settings) } /// - /// Treat warnnings as errors, if no codes specified all errors will be treated as errors. + /// Treat warnings as errors, if no codes specified all errors will be treated as errors. /// /// The settings. /// Only treat specified warning codes as errors. diff --git a/src/Cake.Common/Tools/MSTest/MSTestAliases.cs b/src/Cake.Common/Tools/MSTest/MSTestAliases.cs index 6c92e9c83e..74f48c9c25 100644 --- a/src/Cake.Common/Tools/MSTest/MSTestAliases.cs +++ b/src/Cake.Common/Tools/MSTest/MSTestAliases.cs @@ -17,7 +17,7 @@ namespace Cake.Common.Tools.MSTest /// /// In order to use the commands for this alias, MSTest will need to be installed on the machine where /// the Cake script is being executed. This is typically achieved by having either Visual Studio installed, or by - /// using the Micrsoft Build Tools, for example, for 2015. + /// using the Microsoft Build Tools, for example, for 2015. /// /// [CakeAliasCategory("MSTest")] diff --git a/src/Cake.Common/Tools/NuGet/NuGetAliases.cs b/src/Cake.Common/Tools/NuGet/NuGetAliases.cs index c66c5b1d33..b4a95902d1 100644 --- a/src/Cake.Common/Tools/NuGet/NuGetAliases.cs +++ b/src/Cake.Common/Tools/NuGet/NuGetAliases.cs @@ -27,13 +27,13 @@ namespace Cake.Common.Tools.NuGet /// /// /// Since Cake requires NuGet to be available very early in the build pipeline, we recommend that NuGet is made - /// available via the Cake BootStrapper. + /// available via the Cake Bootstrapper. /// [CakeAliasCategory("NuGet")] public static class NuGetAliases { /// - /// Creates a NuGet package using the specified Nuspec or project file. + /// Creates a NuGet package using the specified nuspec or project file. /// /// The context. /// The nuspec or project file path. @@ -83,7 +83,7 @@ public static void NuGetPack(this ICakeContext context, FilePath filePath, NuGet } /// - /// Creates NuGet packages using the specified Nuspec or project files. + /// Creates NuGet packages using the specified nuspec or project files. /// /// The context. /// The nuspec or project file paths. diff --git a/src/Cake.Common/Tools/NuGet/Pack/NuGetPackSettings.cs b/src/Cake.Common/Tools/NuGet/Pack/NuGetPackSettings.cs index 4bec5be6cc..737289af8b 100644 --- a/src/Cake.Common/Tools/NuGet/Pack/NuGetPackSettings.cs +++ b/src/Cake.Common/Tools/NuGet/Pack/NuGetPackSettings.cs @@ -60,15 +60,15 @@ public sealed class NuGetPackSettings : ToolSettings public string Id { get; set; } /// - /// Gets or sets the Nuspec version. + /// Gets or sets the nuspec version. /// - /// The Nuspec version. + /// The nuspec version. public string Version { get; set; } /// - /// Gets or sets the Nuspec version suffix. + /// Gets or sets the nuspec version suffix. /// - /// The Nuspec version suffix. + /// The nuspec version suffix. public string Suffix { get; set; } /// diff --git a/src/Cake.Common/Tools/NuGet/Pack/NuGetPacker.cs b/src/Cake.Common/Tools/NuGet/Pack/NuGetPacker.cs index 80219f7baf..91cbdbb338 100644 --- a/src/Cake.Common/Tools/NuGet/Pack/NuGetPacker.cs +++ b/src/Cake.Common/Tools/NuGet/Pack/NuGetPacker.cs @@ -82,7 +82,7 @@ public void Pack(NuGetPackSettings settings) } /// - /// Creates a NuGet package from the specified Nuspec or project file. + /// Creates a NuGet package from the specified nuspec or project file. /// /// The nuspec or project file path. /// The settings. diff --git a/src/Cake.Common/Tools/OctopusDeploy/OctopusPackSettings.cs b/src/Cake.Common/Tools/OctopusDeploy/OctopusPackSettings.cs index a9a68fdc4e..37502902c4 100644 --- a/src/Cake.Common/Tools/OctopusDeploy/OctopusPackSettings.cs +++ b/src/Cake.Common/Tools/OctopusDeploy/OctopusPackSettings.cs @@ -63,7 +63,7 @@ public sealed class OctopusPackSettings : OctopusDeployToolSettings public ICollection Include { get; set; } /// - /// Gets or sets a value indicating whether to allow an existing package with the same ID/version to be overwriten. + /// Gets or sets a value indicating whether to allow an existing package with the same ID/version to be overwritten. /// public bool Overwrite { get; set; } } diff --git a/src/Cake.Common/Tools/Roundhouse/RoundhouseSettings.cs b/src/Cake.Common/Tools/Roundhouse/RoundhouseSettings.cs index 78f47548a3..2d179269ee 100644 --- a/src/Cake.Common/Tools/Roundhouse/RoundhouseSettings.cs +++ b/src/Cake.Common/Tools/Roundhouse/RoundhouseSettings.cs @@ -207,7 +207,7 @@ public sealed class RoundhouseSettings : ToolSettings /// Gets or sets the environment for RH to be scoped. /// /// - /// This allows RH to be environment aware and only run scripts that are in a particular environment based on the namingof the script. LOCAL.something**.ENV.**sql would only be run in the LOCAL environment. + /// This allows RH to be environment aware and only run scripts that are in a particular environment based on the naming of the script. LOCAL.something**.ENV.**sql would only be run in the LOCAL environment. /// public string Environment { get; set; } diff --git a/src/Cake.Common/Xml/XmlDtdProcessing.cs b/src/Cake.Common/Xml/XmlDtdProcessing.cs index c22c449281..a1568962b6 100644 --- a/src/Cake.Common/Xml/XmlDtdProcessing.cs +++ b/src/Cake.Common/Xml/XmlDtdProcessing.cs @@ -5,7 +5,7 @@ namespace Cake.Common.Xml { /// - /// Speficies how will an XmlReader handle DTDs in the XML document. + /// Specifies how will an XmlReader handle DTDs in the XML document. /// public enum XmlDtdProcessing { diff --git a/src/Cake.Common/Xml/XmlPeekAliases.cs b/src/Cake.Common/Xml/XmlPeekAliases.cs index 2977418588..5185348be5 100644 --- a/src/Cake.Common/Xml/XmlPeekAliases.cs +++ b/src/Cake.Common/Xml/XmlPeekAliases.cs @@ -56,13 +56,13 @@ public static string XmlPeek(this ICakeContext context, FilePath filePath, strin /// /// XmlPeek usage: /// - /// string version = XmlPeek("./pastery.xml", "/pastery:pastery/pastery:cake/@price", + /// string version = XmlPeek("./pastry.xml", "/pastry:pastry/pastry:cake/@price", /// new XmlPeekSettings { - /// Namespaces = new Dictionary<string, string> {{ "pastery", "https://cakebuild.net/pastery" }} + /// Namespaces = new Dictionary<string, string> {{ "pastry", "https://cakebuild.net/pastry" }} /// }); - /// string unknown = XmlPeek("./pastery.xml", "/pastery:pastery/pastery:cake/@recipe", + /// string unknown = XmlPeek("./pastry.xml", "/pastry:pastry/pastry:cake/@recipe", /// new XmlPeekSettings { - /// Namespaces = new Dictionary<string, string> {{ "pastery", "https://cakebuild.net/pastery" }}, + /// Namespaces = new Dictionary<string, string> {{ "pastry", "https://cakebuild.net/pastry" }}, /// SuppressWarning = true /// }); /// diff --git a/src/Cake.Common/Xml/XmlTransformationAlias.cs b/src/Cake.Common/Xml/XmlTransformationAlias.cs index af80bc445a..81f2489b03 100644 --- a/src/Cake.Common/Xml/XmlTransformationAlias.cs +++ b/src/Cake.Common/Xml/XmlTransformationAlias.cs @@ -24,7 +24,7 @@ public static class XmlTransformationAlias /// Transformed XML string. /// /// - /// This example code will convert xml to a new xml strucure using XmlTransform alias. + /// This example code will convert xml to a new xml structure using XmlTransform alias. /// /// diff --git a/src/Cake.Core.Tests/Unit/Text/TextTransformationTemplateTests.cs b/src/Cake.Core.Tests/Unit/Text/TextTransformationTemplateTests.cs index 03d08e053f..8318305d41 100644 --- a/src/Cake.Core.Tests/Unit/Text/TextTransformationTemplateTests.cs +++ b/src/Cake.Core.Tests/Unit/Text/TextTransformationTemplateTests.cs @@ -213,7 +213,7 @@ public void Should_Replace_Null_Token_Value_With_Empty_String() } [Fact] - public void Should_Replace_Formated_Null_Token_Value_With_Empty_String() + public void Should_Replace_Formatted_Null_Token_Value_With_Empty_String() { // Given var transformation = new TextTransformationTemplate("Hello <%subject:foo%>!"); diff --git a/src/Cake.Core/CakeRuntime.cs b/src/Cake.Core/CakeRuntime.cs index d55a7cf32c..8d7414cfc9 100644 --- a/src/Cake.Core/CakeRuntime.cs +++ b/src/Cake.Core/CakeRuntime.cs @@ -33,7 +33,7 @@ public sealed class CakeRuntime : ICakeRuntime /// Gets a value indicating whether we're running on CoreClr. /// /// - /// true if we're runnning on CoreClr; otherwise, false. + /// true if we're running on CoreClr; otherwise, false. /// public bool IsCoreClr { get; } diff --git a/src/Cake.Core/CakeTaskCriteria.cs b/src/Cake.Core/CakeTaskCriteria.cs index 798040e71f..d9597f1b45 100644 --- a/src/Cake.Core/CakeTaskCriteria.cs +++ b/src/Cake.Core/CakeTaskCriteria.cs @@ -7,27 +7,27 @@ namespace Cake.Core { /// - /// Represents a Cake task criteria. + /// Represents Cake task criteria. /// public sealed class CakeTaskCriteria { /// - /// Gets the criteria's predicate. + /// Gets the criteria predicate. /// - /// The criteria's predicate. + /// The criteria predicate. public Func Predicate { get; } /// - /// Gets the criteria's message. + /// Gets the criteria message. /// - /// The criteria's message. + /// The criteria message. public string Message { get; } /// /// Initializes a new instance of the class. /// - /// The criteria's predicate. - /// The criteria's message if skipped. + /// The criteria predicate. + /// The criteria message if skipped. /// is null. public CakeTaskCriteria(Func predicate, string message = null) { diff --git a/src/Cake.Core/CakeTaskExtensions.cs b/src/Cake.Core/CakeTaskExtensions.cs index 262bd9ac65..4eb62c43bc 100644 --- a/src/Cake.Core/CakeTaskExtensions.cs +++ b/src/Cake.Core/CakeTaskExtensions.cs @@ -47,11 +47,11 @@ public static void AddDependee(this CakeTask task, string name, bool required = } /// - /// Adds the criteria to the task's criterias. + /// Adds to the task's criteria. /// /// The task. - /// The criteria's predicate. - /// The criteria's message if skipped. + /// The criteria predicate. + /// The criteria message if skipped. public static void AddCriteria(this CakeTask task, Func predicate, string message = null) { task.Criterias.Add(new CakeTaskCriteria(predicate, message)); diff --git a/src/Cake.Core/ICakeRuntime.cs b/src/Cake.Core/ICakeRuntime.cs index c425b502db..0833687ce6 100644 --- a/src/Cake.Core/ICakeRuntime.cs +++ b/src/Cake.Core/ICakeRuntime.cs @@ -34,7 +34,7 @@ public interface ICakeRuntime /// Gets a value indicating whether we're running on CoreClr. /// /// - /// true if we're runnning on CoreClr; otherwise, false. + /// true if we're running on CoreClr; otherwise, false. /// bool IsCoreClr { get; } } diff --git a/src/Cake.Core/IO/Globbing/GlobTokenizer.cs b/src/Cake.Core/IO/Globbing/GlobTokenizer.cs index f62cf8f1c2..ed48a8c905 100644 --- a/src/Cake.Core/IO/Globbing/GlobTokenizer.cs +++ b/src/Cake.Core/IO/Globbing/GlobTokenizer.cs @@ -135,7 +135,7 @@ private static GlobToken ReadScope(StringReader reader, GlobTokenKind kind, char throw new InvalidOperationException($"Expected '{last}' but reached end of pattern."); } - // Consume the last characer. + // Consume the last character. current = (char)reader.Read(); Debug.Assert(current == last, "Unexpected token."); diff --git a/src/Cake.Core/ISetupContext.cs b/src/Cake.Core/ISetupContext.cs index d35b47acaf..fad9d9355d 100644 --- a/src/Cake.Core/ISetupContext.cs +++ b/src/Cake.Core/ISetupContext.cs @@ -8,7 +8,7 @@ namespace Cake.Core public interface ISetupContext : ICakeContext { /// - /// Gets target / initating task. + /// Gets target (initiating) task. /// ICakeTaskInfo TargetTask { get; } diff --git a/src/Cake.Core/Scripting/Analysis/ScriptAnalyzerResult.cs b/src/Cake.Core/Scripting/Analysis/ScriptAnalyzerResult.cs index 7262180238..e8020ca4b8 100644 --- a/src/Cake.Core/Scripting/Analysis/ScriptAnalyzerResult.cs +++ b/src/Cake.Core/Scripting/Analysis/ScriptAnalyzerResult.cs @@ -79,7 +79,7 @@ public sealed class ScriptAnalyzerResult public HashSet Modules { get; } /// - /// Gets a value indicating whether to analysis succeded without errors. + /// Gets a value indicating whether to analysis succeeded without errors. /// public bool Succeeded { get; } diff --git a/src/Cake.Core/SetupContext.cs b/src/Cake.Core/SetupContext.cs index 47f8a37cd4..8f79fb1925 100644 --- a/src/Cake.Core/SetupContext.cs +++ b/src/Cake.Core/SetupContext.cs @@ -9,7 +9,7 @@ namespace Cake.Core public sealed class SetupContext : CakeContextAdapter, ISetupContext { /// - /// Gets target / initating task. + /// Gets target (initiating) task. /// public ICakeTaskInfo TargetTask { get; } @@ -22,7 +22,7 @@ public sealed class SetupContext : CakeContextAdapter, ISetupContext /// Initializes a new instance of the class. /// /// The Cake context. - /// The target / initating task. + /// The target (initiating) task. /// The tasks to execute. public SetupContext(ICakeContext context, ICakeTaskInfo targetTask, diff --git a/src/Cake.NuGet/Install/NuGetSourceRepositoryProvider.cs b/src/Cake.NuGet/Install/NuGetSourceRepositoryProvider.cs index f660d6e42f..76eba5bcfe 100644 --- a/src/Cake.NuGet/Install/NuGetSourceRepositoryProvider.cs +++ b/src/Cake.NuGet/Install/NuGetSourceRepositoryProvider.cs @@ -77,7 +77,7 @@ public NuGetSourceRepositoryProvider(ISettings settings, ICakeConfiguration conf } else { - // Only add sources added via NuGet.Config's if nuget_source configuration value is not specified. + // Only add sources added via NuGet.config if nuget_source configuration value is not specified. foreach (var source in packageSources) { if (source.IsEnabled) diff --git a/src/Cake.Testing/FakeRuntime.cs b/src/Cake.Testing/FakeRuntime.cs index 2a83ca7692..715414372a 100644 --- a/src/Cake.Testing/FakeRuntime.cs +++ b/src/Cake.Testing/FakeRuntime.cs @@ -34,7 +34,7 @@ public sealed class FakeRuntime : ICakeRuntime /// Gets or sets a value indicating whether we're running on CoreClr. /// /// - /// true if we're runnning on CoreClr; otherwise, false. + /// true if we're running on CoreClr; otherwise, false. /// public bool IsCoreClr { get; set; }