diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index 0baa52b..7d8ac9e 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -3,13 +3,13 @@ "isRoot": true, "tools": { "cake.tool": { - "version": "0.38.5", + "version": "1.0.0", "commands": [ "dotnet-cake" ] }, "minver-cli": { - "version": "2.3.1", + "version": "2.4.0", "commands": [ "minver" ] diff --git a/LICENSE b/LICENSE index 9a1e74a..c60976f 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2020 C. Augusto Proiete & Contributors +Copyright (c) 2020-2021 C. Augusto Proiete & Contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/global.json b/global.json index e3bbb00..5f35d39 100644 --- a/global.json +++ b/global.json @@ -1,7 +1,7 @@ { "sdk": { "allowPrerelease": false, - "version": "3.1.100", + "version": "5.0.100", "rollForward": "latestFeature" } } diff --git a/src/Cake.MinVer/AddInInformation.cs b/src/Cake.MinVer/AddInInformation.cs index 98b85da..00024e8 100644 --- a/src/Cake.MinVer/AddInInformation.cs +++ b/src/Cake.MinVer/AddInInformation.cs @@ -1,4 +1,4 @@ -// Copyright 2020 C. Augusto Proiete & Contributors +#region Copyright 2020-2021 C. Augusto Proiete & Contributors // // Licensed under the MIT (the "License"); // you may not use this file except in compliance with the License. @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +#endregion using System.Reflection; using Cake.Core.Diagnostics; diff --git a/src/Cake.MinVer/Cake.MinVer.csproj b/src/Cake.MinVer/Cake.MinVer.csproj index 592837d..4d15d1d 100644 --- a/src/Cake.MinVer/Cake.MinVer.csproj +++ b/src/Cake.MinVer/Cake.MinVer.csproj @@ -1,7 +1,7 @@  - netstandard2.0 + net5.0;netstandard2.0 Cake.MinVer Cake.MinVer @@ -29,7 +29,7 @@ C. Augusto Proiete & Contributors augustoproiete.net Cake add-in that makes MinVer available as a tool in Cake. - Copyright 2020 C. Augusto Proiete & Contributors - Provided under the MIT License + Copyright 2020-2021 C. Augusto Proiete & Contributors - Provided under the MIT License cake;minver;cake-addin;cake-build;cake-contrib MIT images\icon.png @@ -41,8 +41,8 @@ - - + + diff --git a/src/Cake.MinVer/IMinVerGlobalTool.cs b/src/Cake.MinVer/IMinVerGlobalTool.cs index b8fc4ad..344f00a 100644 --- a/src/Cake.MinVer/IMinVerGlobalTool.cs +++ b/src/Cake.MinVer/IMinVerGlobalTool.cs @@ -1,4 +1,4 @@ -// Copyright 2020 C. Augusto Proiete & Contributors +#region Copyright 2020-2021 C. Augusto Proiete & Contributors // // Licensed under the MIT (the "License"); // you may not use this file except in compliance with the License. @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +#endregion namespace Cake.MinVer { diff --git a/src/Cake.MinVer/IMinVerLocalTool.cs b/src/Cake.MinVer/IMinVerLocalTool.cs index 3979c2e..6dcbe8a 100644 --- a/src/Cake.MinVer/IMinVerLocalTool.cs +++ b/src/Cake.MinVer/IMinVerLocalTool.cs @@ -1,4 +1,4 @@ -// Copyright 2020 C. Augusto Proiete & Contributors +#region Copyright 2020-2021 C. Augusto Proiete & Contributors // // Licensed under the MIT (the "License"); // you may not use this file except in compliance with the License. @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +#endregion namespace Cake.MinVer { diff --git a/src/Cake.MinVer/IMinVerTool.cs b/src/Cake.MinVer/IMinVerTool.cs index 8f58581..e5d52a0 100644 --- a/src/Cake.MinVer/IMinVerTool.cs +++ b/src/Cake.MinVer/IMinVerTool.cs @@ -1,4 +1,4 @@ -// Copyright 2020 C. Augusto Proiete & Contributors +#region Copyright 2020-2021 C. Augusto Proiete & Contributors // // Licensed under the MIT (the "License"); // you may not use this file except in compliance with the License. @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +#endregion namespace Cake.MinVer { diff --git a/src/Cake.MinVer/MinVerAliases.cs b/src/Cake.MinVer/MinVerAliases.cs index 74e1cfc..33eace9 100644 --- a/src/Cake.MinVer/MinVerAliases.cs +++ b/src/Cake.MinVer/MinVerAliases.cs @@ -1,4 +1,4 @@ -// Copyright 2020 C. Augusto Proiete & Contributors +#region Copyright 2020-2021 C. Augusto Proiete & Contributors // // Licensed under the MIT (the "License"); // you may not use this file except in compliance with the License. @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +#endregion using System; using Cake.Core; diff --git a/src/Cake.MinVer/MinVerAutoIncrement.cs b/src/Cake.MinVer/MinVerAutoIncrement.cs index 2cb73f1..9ccca7f 100644 --- a/src/Cake.MinVer/MinVerAutoIncrement.cs +++ b/src/Cake.MinVer/MinVerAutoIncrement.cs @@ -1,4 +1,4 @@ -// Copyright 2020 C. Augusto Proiete & Contributors +#region Copyright 2020-2021 C. Augusto Proiete & Contributors // // Licensed under the MIT (the "License"); // you may not use this file except in compliance with the License. @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +#endregion namespace Cake.MinVer { diff --git a/src/Cake.MinVer/MinVerEnvironmentVariables.cs b/src/Cake.MinVer/MinVerEnvironmentVariables.cs index 1a3e29c..0c43379 100644 --- a/src/Cake.MinVer/MinVerEnvironmentVariables.cs +++ b/src/Cake.MinVer/MinVerEnvironmentVariables.cs @@ -1,4 +1,4 @@ -// Copyright 2020 C. Augusto Proiete & Contributors +#region Copyright 2020-2021 C. Augusto Proiete & Contributors // // Licensed under the MIT (the "License"); // you may not use this file except in compliance with the License. @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +#endregion namespace Cake.MinVer { diff --git a/src/Cake.MinVer/MinVerGlobalTool.cs b/src/Cake.MinVer/MinVerGlobalTool.cs index 5892674..8545823 100644 --- a/src/Cake.MinVer/MinVerGlobalTool.cs +++ b/src/Cake.MinVer/MinVerGlobalTool.cs @@ -1,4 +1,4 @@ -// Copyright 2020 C. Augusto Proiete & Contributors +#region Copyright 2020-2021 C. Augusto Proiete & Contributors // // Licensed under the MIT (the "License"); // you may not use this file except in compliance with the License. @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +#endregion using System.Collections.Generic; using Cake.Core; diff --git a/src/Cake.MinVer/MinVerLocalTool.cs b/src/Cake.MinVer/MinVerLocalTool.cs index 174649e..d025074 100644 --- a/src/Cake.MinVer/MinVerLocalTool.cs +++ b/src/Cake.MinVer/MinVerLocalTool.cs @@ -1,4 +1,4 @@ -// Copyright 2020 C. Augusto Proiete & Contributors +#region Copyright 2020-2021 C. Augusto Proiete & Contributors // // Licensed under the MIT (the "License"); // you may not use this file except in compliance with the License. @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +#endregion using Cake.Core; using Cake.Core.Diagnostics; diff --git a/src/Cake.MinVer/MinVerSettings.cs b/src/Cake.MinVer/MinVerSettings.cs index 2fcb690..3057fb5 100644 --- a/src/Cake.MinVer/MinVerSettings.cs +++ b/src/Cake.MinVer/MinVerSettings.cs @@ -1,4 +1,4 @@ -// Copyright 2020 C. Augusto Proiete & Contributors +#region Copyright 2020-2021 C. Augusto Proiete & Contributors // // Licensed under the MIT (the "License"); // you may not use this file except in compliance with the License. @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +#endregion using System; using Cake.Common.Tools.DotNetCore; @@ -125,6 +127,7 @@ public MinVerSettings Clone() NoWorkingDirectory = NoWorkingDirectory, ArgumentCustomization = ArgumentCustomization, EnvironmentVariables = EnvironmentVariables, + HandleExitCode = HandleExitCode, }; return clone; diff --git a/src/Cake.MinVer/MinVerSettingsExtensions.cs b/src/Cake.MinVer/MinVerSettingsExtensions.cs index 6383588..07ccbda 100644 --- a/src/Cake.MinVer/MinVerSettingsExtensions.cs +++ b/src/Cake.MinVer/MinVerSettingsExtensions.cs @@ -1,4 +1,4 @@ -// Copyright 2020 C. Augusto Proiete & Contributors +#region Copyright 2020-2021 C. Augusto Proiete & Contributors // // Licensed under the MIT (the "License"); // you may not use this file except in compliance with the License. @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +#endregion using System; using System.ComponentModel; diff --git a/src/Cake.MinVer/MinVerTool.cs b/src/Cake.MinVer/MinVerTool.cs index 9e14878..f388029 100644 --- a/src/Cake.MinVer/MinVerTool.cs +++ b/src/Cake.MinVer/MinVerTool.cs @@ -1,4 +1,4 @@ -// Copyright 2020 C. Augusto Proiete & Contributors +#region Copyright 2020-2021 C. Augusto Proiete & Contributors // // Licensed under the MIT (the "License"); // you may not use this file except in compliance with the License. @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +#endregion using System; using System.Globalization; diff --git a/src/Cake.MinVer/MinVerToolBase.cs b/src/Cake.MinVer/MinVerToolBase.cs index 48a6cbd..cb4aa43 100644 --- a/src/Cake.MinVer/MinVerToolBase.cs +++ b/src/Cake.MinVer/MinVerToolBase.cs @@ -1,4 +1,4 @@ -// Copyright 2020 C. Augusto Proiete & Contributors +#region Copyright 2020-2021 C. Augusto Proiete & Contributors // // Licensed under the MIT (the "License"); // you may not use this file except in compliance with the License. @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +#endregion using System; using System.Collections.Generic; diff --git a/src/Cake.MinVer/MinVerVerbosity.cs b/src/Cake.MinVer/MinVerVerbosity.cs index 177e79e..a80dc21 100644 --- a/src/Cake.MinVer/MinVerVerbosity.cs +++ b/src/Cake.MinVer/MinVerVerbosity.cs @@ -1,4 +1,4 @@ -// Copyright 2020 C. Augusto Proiete & Contributors +#region Copyright 2020-2021 C. Augusto Proiete & Contributors // // Licensed under the MIT (the "License"); // you may not use this file except in compliance with the License. @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +#endregion namespace Cake.MinVer { diff --git a/src/Cake.MinVer/MinVerVersion.cs b/src/Cake.MinVer/MinVerVersion.cs index 7c3ef86..e9c6bc5 100644 --- a/src/Cake.MinVer/MinVerVersion.cs +++ b/src/Cake.MinVer/MinVerVersion.cs @@ -1,4 +1,4 @@ -// Copyright 2020 C. Augusto Proiete & Contributors +#region Copyright 2020-2021 C. Augusto Proiete & Contributors // // Licensed under the MIT (the "License"); // you may not use this file except in compliance with the License. @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +#endregion using System; using System.Collections.Generic; diff --git a/src/Cake.MinVer/Namespaces.cs b/src/Cake.MinVer/Namespaces.cs index 729d554..207f3aa 100644 --- a/src/Cake.MinVer/Namespaces.cs +++ b/src/Cake.MinVer/Namespaces.cs @@ -1,4 +1,4 @@ -// Copyright 2020 C. Augusto Proiete & Contributors +#region Copyright 2020-2021 C. Augusto Proiete & Contributors // // Licensed under the MIT (the "License"); // you may not use this file except in compliance with the License. @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +#endregion using System.Runtime.CompilerServices; diff --git a/src/Cake.MinVer/Properties/InternalsVisibleTo.cs b/src/Cake.MinVer/Properties/InternalsVisibleTo.cs index 4b622e7..6864a62 100644 --- a/src/Cake.MinVer/Properties/InternalsVisibleTo.cs +++ b/src/Cake.MinVer/Properties/InternalsVisibleTo.cs @@ -1,4 +1,4 @@ -// Copyright 2020 C. Augusto Proiete & Contributors +#region Copyright 2020-2021 C. Augusto Proiete & Contributors // // Licensed under the MIT (the "License"); // you may not use this file except in compliance with the License. @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +#endregion using System.Runtime.CompilerServices; diff --git a/src/Cake.MinVer/Utils/EnvironmentProvider.cs b/src/Cake.MinVer/Utils/EnvironmentProvider.cs index d20b8b6..7d48dd4 100644 --- a/src/Cake.MinVer/Utils/EnvironmentProvider.cs +++ b/src/Cake.MinVer/Utils/EnvironmentProvider.cs @@ -1,4 +1,4 @@ -// Copyright 2020 C. Augusto Proiete & Contributors +#region Copyright 2020-2021 C. Augusto Proiete & Contributors // // Licensed under the MIT (the "License"); // you may not use this file except in compliance with the License. @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +#endregion using System; using System.Collections.Generic; diff --git a/src/Cake.MinVer/Utils/IEnvironmentProvider.cs b/src/Cake.MinVer/Utils/IEnvironmentProvider.cs index b10ba3f..ca47a13 100644 --- a/src/Cake.MinVer/Utils/IEnvironmentProvider.cs +++ b/src/Cake.MinVer/Utils/IEnvironmentProvider.cs @@ -1,4 +1,4 @@ -// Copyright 2020 C. Augusto Proiete & Contributors +#region Copyright 2020-2021 C. Augusto Proiete & Contributors // // Licensed under the MIT (the "License"); // you may not use this file except in compliance with the License. @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +#endregion using System.Collections.Generic; using Cake.Core.IO; diff --git a/test/Cake.MinVer.Tests/Cake.MinVer.Tests.csproj b/test/Cake.MinVer.Tests/Cake.MinVer.Tests.csproj index 4d9d9fd..516a95c 100644 --- a/test/Cake.MinVer.Tests/Cake.MinVer.Tests.csproj +++ b/test/Cake.MinVer.Tests/Cake.MinVer.Tests.csproj @@ -1,19 +1,24 @@  - netcoreapp3.1 + net5.0;netcoreapp3.1 false - - - + + - - - - + + + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + diff --git a/test/Cake.MinVer.Tests/MinVerSettingsExtensionsTests.cs b/test/Cake.MinVer.Tests/MinVerSettingsExtensionsTests.cs index 0b9abaa..3c47a8a 100644 --- a/test/Cake.MinVer.Tests/MinVerSettingsExtensionsTests.cs +++ b/test/Cake.MinVer.Tests/MinVerSettingsExtensionsTests.cs @@ -1,4 +1,4 @@ -// Copyright 2020 C. Augusto Proiete & Contributors +#region Copyright 2020-2021 C. Augusto Proiete & Contributors // // Licensed under the MIT (the "License"); // you may not use this file except in compliance with the License. @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +#endregion using FluentAssertions; using Xunit; diff --git a/test/Cake.MinVer.Tests/MinVerSettingsTests.cs b/test/Cake.MinVer.Tests/MinVerSettingsTests.cs index 8da742f..ff32f9f 100644 --- a/test/Cake.MinVer.Tests/MinVerSettingsTests.cs +++ b/test/Cake.MinVer.Tests/MinVerSettingsTests.cs @@ -1,4 +1,4 @@ -// Copyright 2020 C. Augusto Proiete & Contributors +#region Copyright 2020-2021 C. Augusto Proiete & Contributors // // Licensed under the MIT (the "License"); // you may not use this file except in compliance with the License. @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +#endregion using System; using System.Collections.Generic; @@ -48,6 +50,7 @@ public void Should_Shallow_Clone_All_Properties() NoWorkingDirectory = true, ArgumentCustomization = s => s, EnvironmentVariables = new Dictionary { { "MINVERTESTVAR", "SOMEVALUE" } }, + HandleExitCode = i => false, }; var actual = expected.Clone(); @@ -70,6 +73,7 @@ public void Should_Shallow_Clone_All_Properties() actual.NoWorkingDirectory.Should().Be(expected.NoWorkingDirectory); actual.ArgumentCustomization.Should().Be(expected.ArgumentCustomization); actual.EnvironmentVariables.Should().BeEquivalentTo(expected.EnvironmentVariables); + actual.HandleExitCode.Should().BeEquivalentTo(expected.HandleExitCode); var properties = typeof(MinVerSettings) .GetProperties(BindingFlags.Public | BindingFlags.Instance | BindingFlags.FlattenHierarchy) @@ -77,7 +81,7 @@ public void Should_Shallow_Clone_All_Properties() .ToList(); // Sanity check & alarm to detect changes in properties that need to be considered in the cloning - properties.Should().HaveCount(17); + properties.Should().HaveCount(18); } } } diff --git a/test/Cake.MinVer.Tests/MinVerToolTests.cs b/test/Cake.MinVer.Tests/MinVerToolTests.cs index 1f1d2b8..80ac3dd 100644 --- a/test/Cake.MinVer.Tests/MinVerToolTests.cs +++ b/test/Cake.MinVer.Tests/MinVerToolTests.cs @@ -1,4 +1,4 @@ -// Copyright 2020 C. Augusto Proiete & Contributors +#region Copyright 2020-2021 C. Augusto Proiete & Contributors // // Licensed under the MIT (the "License"); // you may not use this file except in compliance with the License. @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +#endregion using System; using FluentAssertions; diff --git a/test/Cake.MinVer.Tests/MinVerVersionTests.cs b/test/Cake.MinVer.Tests/MinVerVersionTests.cs index adf41e0..c453647 100644 --- a/test/Cake.MinVer.Tests/MinVerVersionTests.cs +++ b/test/Cake.MinVer.Tests/MinVerVersionTests.cs @@ -1,4 +1,4 @@ -// Copyright 2020 C. Augusto Proiete & Contributors +#region Copyright 2020-2021 C. Augusto Proiete & Contributors // // Licensed under the MIT (the "License"); // you may not use this file except in compliance with the License. @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +#endregion using System; using FluentAssertions; diff --git a/test/Cake.MinVer.Tests/Support/MinVerGlobalToolFixture.cs b/test/Cake.MinVer.Tests/Support/MinVerGlobalToolFixture.cs index cb58d06..bad14f7 100644 --- a/test/Cake.MinVer.Tests/Support/MinVerGlobalToolFixture.cs +++ b/test/Cake.MinVer.Tests/Support/MinVerGlobalToolFixture.cs @@ -1,4 +1,4 @@ -// Copyright 2020 C. Augusto Proiete & Contributors +#region Copyright 2020-2021 C. Augusto Proiete & Contributors // // Licensed under the MIT (the "License"); // you may not use this file except in compliance with the License. @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +#endregion using Cake.Core.IO; diff --git a/test/Cake.MinVer.Tests/Support/MinVerLocalToolFixture.cs b/test/Cake.MinVer.Tests/Support/MinVerLocalToolFixture.cs index 108681b..d0858ea 100644 --- a/test/Cake.MinVer.Tests/Support/MinVerLocalToolFixture.cs +++ b/test/Cake.MinVer.Tests/Support/MinVerLocalToolFixture.cs @@ -1,4 +1,4 @@ -// Copyright 2020 C. Augusto Proiete & Contributors +#region Copyright 2020-2021 C. Augusto Proiete & Contributors // // Licensed under the MIT (the "License"); // you may not use this file except in compliance with the License. @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +#endregion using Cake.Core.IO; diff --git a/test/Cake.MinVer.Tests/Support/MinVerToolContext.cs b/test/Cake.MinVer.Tests/Support/MinVerToolContext.cs index 3b9287d..7e0fe37 100644 --- a/test/Cake.MinVer.Tests/Support/MinVerToolContext.cs +++ b/test/Cake.MinVer.Tests/Support/MinVerToolContext.cs @@ -1,4 +1,4 @@ -// Copyright 2020 C. Augusto Proiete & Contributors +#region Copyright 2020-2021 C. Augusto Proiete & Contributors // // Licensed under the MIT (the "License"); // you may not use this file except in compliance with the License. @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +#endregion using System.Threading; diff --git a/test/Cake.MinVer.Tests/Support/MinVerToolFixture.cs b/test/Cake.MinVer.Tests/Support/MinVerToolFixture.cs index 6f22748..f94bbf7 100644 --- a/test/Cake.MinVer.Tests/Support/MinVerToolFixture.cs +++ b/test/Cake.MinVer.Tests/Support/MinVerToolFixture.cs @@ -1,4 +1,4 @@ -// Copyright 2020 C. Augusto Proiete & Contributors +#region Copyright 2020-2021 C. Augusto Proiete & Contributors // // Licensed under the MIT (the "License"); // you may not use this file except in compliance with the License. @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +#endregion using System; using System.Linq; diff --git a/test/Cake.MinVer.Tests/Support/MinVerToolFixtureBase.cs b/test/Cake.MinVer.Tests/Support/MinVerToolFixtureBase.cs index 2fe84a9..d8d3640 100644 --- a/test/Cake.MinVer.Tests/Support/MinVerToolFixtureBase.cs +++ b/test/Cake.MinVer.Tests/Support/MinVerToolFixtureBase.cs @@ -1,4 +1,4 @@ -// Copyright 2020 C. Augusto Proiete & Contributors +#region Copyright 2020-2021 C. Augusto Proiete & Contributors // // Licensed under the MIT (the "License"); // you may not use this file except in compliance with the License. @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +#endregion using System; using System.Collections.Generic; diff --git a/test/Cake.MinVer.Tests/Support/MinVerToolFixtureResult.cs b/test/Cake.MinVer.Tests/Support/MinVerToolFixtureResult.cs index a9b1e75..5e3f19b 100644 --- a/test/Cake.MinVer.Tests/Support/MinVerToolFixtureResult.cs +++ b/test/Cake.MinVer.Tests/Support/MinVerToolFixtureResult.cs @@ -1,4 +1,4 @@ -// Copyright 2020 C. Augusto Proiete & Contributors +#region Copyright 2020-2021 C. Augusto Proiete & Contributors // // Licensed under the MIT (the "License"); // you may not use this file except in compliance with the License. @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +#endregion using Cake.Core.IO; using Cake.Testing.Fixtures; diff --git a/test/Cake.MinVer.Tests/Support/MinVerToolOutputs.cs b/test/Cake.MinVer.Tests/Support/MinVerToolOutputs.cs index 8adf4fc..03df956 100644 --- a/test/Cake.MinVer.Tests/Support/MinVerToolOutputs.cs +++ b/test/Cake.MinVer.Tests/Support/MinVerToolOutputs.cs @@ -1,4 +1,4 @@ -// Copyright 2020 C. Augusto Proiete & Contributors +#region Copyright 2020-2021 C. Augusto Proiete & Contributors // // Licensed under the MIT (the "License"); // you may not use this file except in compliance with the License. @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +#endregion using System.Linq; diff --git a/test/Cake.MinVer.Tests/Support/XUnitLogger.cs b/test/Cake.MinVer.Tests/Support/XUnitLogger.cs index 4bc3623..cd538b9 100644 --- a/test/Cake.MinVer.Tests/Support/XUnitLogger.cs +++ b/test/Cake.MinVer.Tests/Support/XUnitLogger.cs @@ -1,4 +1,4 @@ -// Copyright 2020 C. Augusto Proiete & Contributors +#region Copyright 2020-2021 C. Augusto Proiete & Contributors // // Licensed under the MIT (the "License"); // you may not use this file except in compliance with the License. @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +#endregion using System; using Xunit.Abstractions; diff --git a/test/Cake.MinVer.Tests/Utils/EnvironmentProviderTests.cs b/test/Cake.MinVer.Tests/Utils/EnvironmentProviderTests.cs index 8b96148..4442387 100644 --- a/test/Cake.MinVer.Tests/Utils/EnvironmentProviderTests.cs +++ b/test/Cake.MinVer.Tests/Utils/EnvironmentProviderTests.cs @@ -1,4 +1,4 @@ -// Copyright 2020 C. Augusto Proiete & Contributors +#region Copyright 2020-2021 C. Augusto Proiete & Contributors // // Licensed under the MIT (the "License"); // you may not use this file except in compliance with the License. @@ -11,6 +11,8 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +// +#endregion using System.Collections.Generic; using FluentAssertions;