Skip to content

Commit 06629dd

Browse files
Merge pull request #63 from atc-net/feature/extend-distribution-editorconfig-files-handling
Feature/extend distribution editorconfig files handling
2 parents 6aa3e0f + 9e86954 commit 06629dd

18 files changed

+4050
-113
lines changed

Atc.CodingRules.Updater.CLI.sln

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Atc.CodingRules", "src\Atc.
1818
EndProject
1919
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Atc.CodingRules.Updater", "src\Atc.CodingRules.Updater\Atc.CodingRules.Updater.csproj", "{5AF6DB00-AED6-44D6-8F60-7734D118C5FB}"
2020
EndProject
21+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{E9C87546-6B4C-47EC-9BAC-038DB1EDF6CD}"
22+
EndProject
23+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Atc.CodingRules.Updater.Tests", "test\Atc.CodingRules.Updater.Tests\Atc.CodingRules.Updater.Tests.csproj", "{16FE991D-3145-45B1-B3B6-ACA039C97DE0}"
24+
EndProject
25+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Src", "Src", "{329E2FC9-29AE-4580-959F-B25F2E252B82}"
26+
EndProject
2127
Global
2228
GlobalSection(SolutionConfigurationPlatforms) = preSolution
2329
Debug|Any CPU = Debug|Any CPU
@@ -44,10 +50,22 @@ Global
4450
{5AF6DB00-AED6-44D6-8F60-7734D118C5FB}.Debug|Any CPU.Build.0 = Debug|Any CPU
4551
{5AF6DB00-AED6-44D6-8F60-7734D118C5FB}.Release|Any CPU.ActiveCfg = Release|Any CPU
4652
{5AF6DB00-AED6-44D6-8F60-7734D118C5FB}.Release|Any CPU.Build.0 = Release|Any CPU
53+
{16FE991D-3145-45B1-B3B6-ACA039C97DE0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
54+
{16FE991D-3145-45B1-B3B6-ACA039C97DE0}.Debug|Any CPU.Build.0 = Debug|Any CPU
55+
{16FE991D-3145-45B1-B3B6-ACA039C97DE0}.Release|Any CPU.ActiveCfg = Release|Any CPU
56+
{16FE991D-3145-45B1-B3B6-ACA039C97DE0}.Release|Any CPU.Build.0 = Release|Any CPU
4757
EndGlobalSection
4858
GlobalSection(SolutionProperties) = preSolution
4959
HideSolutionNode = FALSE
5060
EndGlobalSection
61+
GlobalSection(NestedProjects) = preSolution
62+
{40A9E694-220D-4FF9-8D35-9D993882B5ED} = {329E2FC9-29AE-4580-959F-B25F2E252B82}
63+
{E210CAD4-5593-4068-8FF2-F46780E667B0} = {329E2FC9-29AE-4580-959F-B25F2E252B82}
64+
{53A87DE0-0F63-4505-967C-C130CAB165D7} = {E9C87546-6B4C-47EC-9BAC-038DB1EDF6CD}
65+
{85273D86-2477-41FA-A55A-10B912334C88} = {329E2FC9-29AE-4580-959F-B25F2E252B82}
66+
{5AF6DB00-AED6-44D6-8F60-7734D118C5FB} = {329E2FC9-29AE-4580-959F-B25F2E252B82}
67+
{16FE991D-3145-45B1-B3B6-ACA039C97DE0} = {E9C87546-6B4C-47EC-9BAC-038DB1EDF6CD}
68+
EndGlobalSection
5169
GlobalSection(ExtensibilityGlobals) = postSolution
5270
SolutionGuid = {A24C1323-4C10-4EED-B1FC-19D04C3B1C08}
5371
EndGlobalSection

src/Atc.CodingRules.Updater.CLI/Commands/CommandConstants.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ internal static class CommandConstants
1414
public const string ArgumentShortProjectTarget = "-t";
1515
public const string ArgumentLongProjectTarget = "--projectTarget";
1616
public const string ArgumentLongUseLatestMinorNugetVersion = "--useLatestMinorNugetVersion";
17+
public const string ArgumentShortUseTemporarySuppressions = "-s";
1718
public const string ArgumentLongUseTemporarySuppressions = "--useTemporarySuppressions";
1819
public const string ArgumentLongTemporarySuppressionPath = "--temporarySuppressionPath";
1920
public const string ArgumentLongTemporarySuppressionAsExcel = "--temporarySuppressionAsExcel";

src/Atc.CodingRules.Updater.CLI/Commands/Settings/RunCommandSettings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public class RunCommandSettings : ProjectCommandSettings
99
[Description("Indicate if nuget packages should by updated to latest minor version (default true)")]
1010
public bool? UseLatestMinorNugetVersion { get; init; }
1111

12-
[CommandOption(CommandConstants.ArgumentLongUseTemporarySuppressions)]
12+
[CommandOption($"{CommandConstants.ArgumentShortUseTemporarySuppressions}|{CommandConstants.ArgumentLongUseTemporarySuppressions}")]
1313
[Description("Indicate if build process should use temporary suppressions - appends to .editorconfig - unless temporarySuppressionPath is set")]
1414
public bool? UseTemporarySuppressions { get; init; }
1515

0 commit comments

Comments
 (0)