Skip to content

Commit

Permalink
Add Smab.Helpers to solution
Browse files Browse the repository at this point in the history
  • Loading branch information
smabuk committed Nov 15, 2023
1 parent 2530b0b commit de9f0e5
Show file tree
Hide file tree
Showing 11 changed files with 53 additions and 12 deletions.
12 changes: 12 additions & 0 deletions AdventOfCode.sln
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AdventOfCode.Tests.2018", "
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AdventOfCode.Tests.2023", "Tests\2023\AdventOfCode.Tests.2023.csproj", "{11BFA06E-9CAF-4B6A-A020-19E5577A12C9}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Smab.Helpers", "..\Smab.Helpers\src\Smab.Helpers\Smab.Helpers.csproj", "{FE532B22-6206-4A09-B78F-194A25D89487}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Smab.Helpers.Test", "..\Smab.Helpers\test\Smab.Helpers.Test\Smab.Helpers.Test.csproj", "{D90825D2-2D44-4914-BCB8-3BE9334B3EC0}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -139,6 +143,14 @@ Global
{11BFA06E-9CAF-4B6A-A020-19E5577A12C9}.Debug|Any CPU.Build.0 = Debug|Any CPU
{11BFA06E-9CAF-4B6A-A020-19E5577A12C9}.Release|Any CPU.ActiveCfg = Release|Any CPU
{11BFA06E-9CAF-4B6A-A020-19E5577A12C9}.Release|Any CPU.Build.0 = Release|Any CPU
{FE532B22-6206-4A09-B78F-194A25D89487}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{FE532B22-6206-4A09-B78F-194A25D89487}.Debug|Any CPU.Build.0 = Debug|Any CPU
{FE532B22-6206-4A09-B78F-194A25D89487}.Release|Any CPU.ActiveCfg = Release|Any CPU
{FE532B22-6206-4A09-B78F-194A25D89487}.Release|Any CPU.Build.0 = Release|Any CPU
{D90825D2-2D44-4914-BCB8-3BE9334B3EC0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D90825D2-2D44-4914-BCB8-3BE9334B3EC0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D90825D2-2D44-4914-BCB8-3BE9334B3EC0}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D90825D2-2D44-4914-BCB8-3BE9334B3EC0}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
2 changes: 1 addition & 1 deletion Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
<PackageVersion Include="coverlet.collector" Version="6.0.0" />
<PackageVersion Include="Shouldly" Version="4.2.1" />
<PackageVersion Include="AngleSharp" Version="1.0.6" />
<PackageVersion Include="Smab.Helpers" Version="1.2.14" />
<!--<PackageVersion Include="Smab.Helpers" Version="1.3.0" />-->
</ItemGroup>
</Project>
6 changes: 5 additions & 1 deletion Solutions/2015/AdventOfCode.Solutions.2015.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
</PropertyGroup>

<ItemGroup>
<!--<ItemGroup>
<PackageReference Include="Smab.Helpers" />
</ItemGroup>-->

<ItemGroup>
<ProjectReference Include="..\..\..\Smab.Helpers\src\Smab.Helpers\Smab.Helpers.csproj" />
</ItemGroup>

</Project>
6 changes: 5 additions & 1 deletion Solutions/2018/AdventOfCode.Solutions.2018.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
</PropertyGroup>

<ItemGroup>
<!--<ItemGroup>
<PackageReference Include="Smab.Helpers" />
</ItemGroup>-->

<ItemGroup>
<ProjectReference Include="..\..\..\Smab.Helpers\src\Smab.Helpers\Smab.Helpers.csproj" />
</ItemGroup>

</Project>
4 changes: 2 additions & 2 deletions Solutions/2018/Day10.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ private static string Solution1(string[] _)
stars[pointOfLight.Position.X - minX, pointOfLight.Position.Y - minY] = '█';
}

string ocrString = OcrHelpers.IdentifyMessage(stars.PrintAsStringArray(width: 0), ' ', '█');
string message = Environment.NewLine + String.Join(Environment.NewLine, stars.PrintAsStringArray(width: 0)); ;
string ocrString = OcrHelpers.IdentifyMessage(stars.PrintAsStringArray(width: 0), ' ', '█', 2, OcrHelpers.OcrLetterSize.Large);
string message = ocrString + Environment.NewLine + String.Join(Environment.NewLine, stars.PrintAsStringArray(width: 0)); ;

return message;
}
Expand Down
6 changes: 5 additions & 1 deletion Solutions/2019/AdventOfCode.Solutions.2019.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
</PropertyGroup>

<ItemGroup>
<!--<ItemGroup>
<PackageReference Include="Smab.Helpers" />
</ItemGroup>-->

<ItemGroup>
<ProjectReference Include="..\..\..\Smab.Helpers\src\Smab.Helpers\Smab.Helpers.csproj" />
</ItemGroup>

</Project>
6 changes: 5 additions & 1 deletion Solutions/2020/AdventOfCode.Solutions.2020.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
</PropertyGroup>

<ItemGroup>
<!--<ItemGroup>
<PackageReference Include="Smab.Helpers" />
</ItemGroup>-->

<ItemGroup>
<ProjectReference Include="..\..\..\Smab.Helpers\src\Smab.Helpers\Smab.Helpers.csproj" />
</ItemGroup>

</Project>
6 changes: 5 additions & 1 deletion Solutions/2021/AdventOfCode.Solutions.2021.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
</PropertyGroup>

<ItemGroup>
<!--<ItemGroup>
<PackageReference Include="Smab.Helpers" />
</ItemGroup>-->

<ItemGroup>
<ProjectReference Include="..\..\..\Smab.Helpers\src\Smab.Helpers\Smab.Helpers.csproj" />
</ItemGroup>

</Project>
6 changes: 5 additions & 1 deletion Solutions/2022/AdventOfCode.Solutions.2022.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
</PropertyGroup>

<ItemGroup>
<!--<ItemGroup>
<PackageReference Include="Smab.Helpers" />
</ItemGroup>-->

<ItemGroup>
<ProjectReference Include="..\..\..\Smab.Helpers\src\Smab.Helpers\Smab.Helpers.csproj" />
</ItemGroup>

</Project>
6 changes: 5 additions & 1 deletion Solutions/2023/AdventOfCode.Solutions.2023.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
</PropertyGroup>

<ItemGroup>
<!--<ItemGroup>
<PackageReference Include="Smab.Helpers" />
</ItemGroup>-->

<ItemGroup>
<ProjectReference Include="..\..\..\Smab.Helpers\src\Smab.Helpers\Smab.Helpers.csproj" />
</ItemGroup>

</Project>
5 changes: 3 additions & 2 deletions Solutions/Router/AdventOfCode.Solutions.Router.csproj
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">

<ItemGroup>
<!--<ItemGroup>
<PackageReference Include="Smab.Helpers" />
</ItemGroup>
</ItemGroup>-->

<ItemGroup>
<ProjectReference Include="..\..\..\Smab.Helpers\src\Smab.Helpers\Smab.Helpers.csproj" />
<ProjectReference Include="..\..\Solutions\2015\AdventOfCode.Solutions.2015.csproj" />
<!--<ProjectReference Include="..\..\Solutions\2016\AdventOfCode.Solutions.2016.csproj" />-->
<!--<ProjectReference Include="..\..\Solutions\2017\AdventOfCode.Solutions.2017.csproj" />-->
Expand Down

0 comments on commit de9f0e5

Please sign in to comment.