Skip to content

Commit

Permalink
Clean samples
Browse files Browse the repository at this point in the history
  • Loading branch information
philbir committed Jan 25, 2025
1 parent 215b1bc commit da37f3c
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 54 deletions.
9 changes: 0 additions & 9 deletions samples/AzureCloudServiceBus/AzureCloudServiceBus.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,8 @@
<PropertyGroup>
<AssemblyName>Squadron.Samples.AzureCloud.ServiceBus</AssemblyName>
<RootNamespace>Squadron.Samples.AzureCloud.ServiceBus</RootNamespace>
<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.2.0" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1" />
<PackageReference Include="coverlet.collector" Version="1.0.1" />
<PackageReference Include="FluentAssertions" Version="5.9.0" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Shared\Shared.csproj" />
<ProjectReference Include="..\..\src\AzureCloudServiceBus\AzureCloudServiceBus.csproj" />
Expand Down
21 changes: 8 additions & 13 deletions samples/Compose/Compose.csproj
Original file line number Diff line number Diff line change
@@ -1,19 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<AssemblyName>Squadron.Samples.Compose</AssemblyName>
<RootNamespace>Squadron.Samples.Compose</RootNamespace>
<IsPackable>false</IsPackable>
</PropertyGroup>
<AssemblyName>Squadron.Samples.Compose</AssemblyName>
<RootNamespace>Squadron.Samples.Compose</RootNamespace>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="coverlet.collector" Version="1.0.1" />
<PackageReference Include="FluentAssertions" Version="5.9.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\Compose\Compose.csproj" />
<ProjectReference Include="..\..\src\Mongo\Mongo.csproj" />
<ProjectReference Include="..\Shared\Shared.csproj" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\Compose\Compose.csproj" />
<ProjectReference Include="..\..\src\Mongo\Mongo.csproj" />
<ProjectReference Include="..\Shared\Shared.csproj" />
</ItemGroup>

</Project>
18 changes: 17 additions & 1 deletion samples/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,23 @@
<Project>

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
<PackageReference Include="xunit" Version="2.9.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="FluentAssertions" Version="7.1.0" />
<PackageReference Include="Moq" Version="4.16.1" />
<PackageReference Include="coverlet.collector" Version="6.0.4">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Snapshooter.Xunit" Version="1.0.0" />
</ItemGroup>

</Project>
9 changes: 0 additions & 9 deletions samples/GenericResource/GenericResource.csproj
Original file line number Diff line number Diff line change
@@ -1,19 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6</TargetFramework>
<AssemblyName>Squadron.Samples.Generic</AssemblyName>
<RootNamespace>Squadron.Samples.Generic</RootNamespace>
<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.2.0" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1" />
<PackageReference Include="coverlet.collector" Version="1.0.1" />
<PackageReference Include="FluentAssertions" Version="5.9.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\Core\Core.csproj" />
<ProjectReference Include="..\Shared\Shared.csproj" />
Expand Down
5 changes: 0 additions & 5 deletions samples/MongoDb/MongoDb.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,8 @@
<PropertyGroup>
<AssemblyName>Squadron.Samples.Mongo</AssemblyName>
<RootNamespace>Squadron.Samples.Mongo</RootNamespace>
<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="coverlet.collector" Version="1.0.1" />
<PackageReference Include="FluentAssertions" Version="5.9.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\Mongo\Mongo.csproj" />
<ProjectReference Include="..\Shared\Shared.csproj" />
Expand Down
10 changes: 0 additions & 10 deletions samples/PostgreSql/PostgreSql.csproj
Original file line number Diff line number Diff line change
@@ -1,20 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6</TargetFramework>
<AssemblyName>Squadron.Samples.PostgreSql</AssemblyName>
<RootNamespace>Squadron.Samples.PostgreSql</RootNamespace>
<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="FluentAssertions" Version="5.9.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.2.0" />
<PackageReference Include="xunit" Version="2.4.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1" />
<PackageReference Include="coverlet.collector" Version="1.0.1" />
</ItemGroup>

<ItemGroup>
<None Update="InitDatabase.sql">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
Expand Down
6 changes: 0 additions & 6 deletions samples/RabbitMQ/RabbitMQ.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,8 @@
<PropertyGroup>
<AssemblyName>Squadron.Samples.RabbitMQ</AssemblyName>
<RootNamespace>Squadron.Samples.RabbitMQ</RootNamespace>
<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="coverlet.collector" Version="1.0.1" />
<PackageReference Include="FluentAssertions" Version="5.9.0" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Shared\Shared.csproj" />
<ProjectReference Include="..\..\src\RabbitMQ\RabbitMQ.csproj" />
Expand Down
1 change: 0 additions & 1 deletion samples/Redis/Redis.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<PropertyGroup>
<AssemblyName>Squadron.Samples.Redis</AssemblyName>
<RootNamespace>Squadron.Samples.Redis</RootNamespace>
<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit da37f3c

Please sign in to comment.