Skip to content

Commit

Permalink
upgrade nugets
Browse files Browse the repository at this point in the history
  • Loading branch information
kbilsted committed Feb 4, 2024
1 parent b147623 commit 62145a9
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
Expand All @@ -8,7 +8,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Autofac" Version="7.1.0" />
<PackageReference Include="Autofac" Version="8.0.0" />
<PackageReference Include="FluentAssertions" Version="6.12.0" />
<PackageReference Include="LineCounter" Version="1.1.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
Expand Down
13 changes: 3 additions & 10 deletions src/Demos/GreenFeetWorkFlow.Tests/LineCounterUpdateReadme.cs
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
using KbgSoft.LineCounter;
using NUnit.Framework;
using System.Reflection;
using System.Text.RegularExpressions;

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Threading;

namespace GreenFeetWorkflow.Tests;

Expand All @@ -21,6 +11,7 @@ public void UpdateReadme()
{
string topPath = Path.GetFullPath(Path.Combine(Assembly.GetExecutingAssembly().Location, "..", "..", "..", "..", "..", "..", ".."));

// code
string sourcePath = Path.GetFullPath(Path.Combine(topPath, "src"));
Console.WriteLine($"root: {sourcePath}");
var sourceCounter = new LineCounting();
Expand All @@ -29,12 +20,14 @@ public void UpdateReadme()
Console.WriteLine($"counting:\n{string.Join("\n", files)}");
var sourceStats = sourceCounter.CountFiles(files);

// doc
var documentationCounter = new LineCounting();
var documentationStats = documentationCounter.CountFiles(
documentationCounter
.GetFiles(topPath)
.Where(x => x.EndsWith(".md")));

// merge
sourceStats.Add("Markdown",
new Statistics()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Data.SqlClient" Version="5.1.4" />
<PackageReference Include="Microsoft.Data.SqlClient" Version="5.1.5" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Autofac" Version="7.1.0" />
<PackageReference Include="Autofac" Version="8.0.0" />
<ProjectReference Include="..\GreenFeetWorkFlow\GreenFeetWorkFlow.csproj" />

</ItemGroup>
Expand Down

0 comments on commit 62145a9

Please sign in to comment.