Skip to content

Commit

Permalink
split data types to new package
Browse files Browse the repository at this point in the history
  • Loading branch information
LiorBanai committed Aug 29, 2024
1 parent fc2d9d9 commit b3ec931
Show file tree
Hide file tree
Showing 20 changed files with 50 additions and 10 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/dotnetcore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
uses: actions/[email protected]
with:
name: 'artifactory'
path: ./Analogy.Interfaces/bin/${{ matrix.configuration }}
path: ./
push-nuget:
name: 'Push NuGet Packages'
needs: build
Expand Down Expand Up @@ -86,7 +86,6 @@ jobs:
Get-ChildItem .\artifactory -Filter *.nupkg |
Where-Object { !$_.Name.Contains('preview') } |
ForEach-Object { nuget push $_ -Source "GPR" -SkipDuplicate }
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageReference Include="MSTest.TestAdapter" Version="3.2.2" />
<PackageReference Include="MSTest.TestFramework" Version="3.2.2" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.0" />
<PackageReference Include="MSTest.TestAdapter" Version="3.5.2" />
<PackageReference Include="MSTest.TestFramework" Version="3.5.2" />
</ItemGroup>

<ItemGroup>
Expand Down
10 changes: 10 additions & 0 deletions Analogy.Interfaces.sln
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
.github\workflows\dotnetcore.yml = .github\workflows\dotnetcore.yml
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Analogy.Interfaces.DataTypes", "Analogy.Types\Analogy.Interfaces.DataTypes.csproj", "{FC81D555-312D-41A9-A2A7-AE09AD9F050D}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -37,6 +39,14 @@ Global
{4758E0A3-49E4-416A-A79F-AA55DE144F43}.Release|Any CPU.Build.0 = Release|Any CPU
{4758E0A3-49E4-416A-A79F-AA55DE144F43}.Release|x86.ActiveCfg = Release|Any CPU
{4758E0A3-49E4-416A-A79F-AA55DE144F43}.Release|x86.Build.0 = Release|Any CPU
{FC81D555-312D-41A9-A2A7-AE09AD9F050D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{FC81D555-312D-41A9-A2A7-AE09AD9F050D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{FC81D555-312D-41A9-A2A7-AE09AD9F050D}.Debug|x86.ActiveCfg = Debug|Any CPU
{FC81D555-312D-41A9-A2A7-AE09AD9F050D}.Debug|x86.Build.0 = Debug|Any CPU
{FC81D555-312D-41A9-A2A7-AE09AD9F050D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{FC81D555-312D-41A9-A2A7-AE09AD9F050D}.Release|Any CPU.Build.0 = Release|Any CPU
{FC81D555-312D-41A9-A2A7-AE09AD9F050D}.Release|x86.ActiveCfg = Release|Any CPU
{FC81D555-312D-41A9-A2A7-AE09AD9F050D}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
6 changes: 5 additions & 1 deletion Analogy.Interfaces/Analogy.Interfaces.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">

<PropertyGroup>
<TargetFrameworks>net8.0-windows;net7.0-windows;net6.0-windows;net48;net471</TargetFrameworks>
<TargetFrameworks>net8.0-windows;net6.0-windows;net48</TargetFrameworks>
<UseWindowsForms>true</UseWindowsForms>
<Description>Interfaces assembly for creating custom data providers for Analogy Log Viewer</Description>
<PackageReleaseNotes></PackageReleaseNotes>
<PackageProjectUrl>https://github.com/Analogy-LogViewer/Analogy.Interfaces</PackageProjectUrl>
Expand All @@ -27,4 +28,7 @@
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.1" />
<PackageReference Include="System.Resources.Extensions" Version="8.0.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Analogy.Types\Analogy.Interfaces.DataTypes.csproj" />
</ItemGroup>
</Project>
28 changes: 28 additions & 0 deletions Analogy.Types/Analogy.Interfaces.DataTypes.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net8.0;net6.0;net48</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<Description>Data Types assembly for creating custom data providers for Analogy Log Viewer</Description>
<PackageReleaseNotes></PackageReleaseNotes>
<PackageProjectUrl>https://github.com/Analogy-LogViewer/Analogy.Interfaces</PackageProjectUrl>
<AssemblyName>Analogy.Interfaces.DataTypes</AssemblyName>
<RootNamespace>Analogy.Interfaces.DataTypes</RootNamespace>
<PackageId>Analogy.Interfaces.DataTypes</PackageId>
<VersionPrefix>1.0.0.0</VersionPrefix>
<VersionSuffix>1</VersionSuffix>
<Authors>Lior Banai</Authors>
<Product>Analogy.Interfaces.DataTypes</Product>
<Copyright>Lior Banai @ 2024</Copyright>
<PackageIcon>icon.png</PackageIcon>
<RepositoryUrl>https://github.com/Analogy-LogViewer/Analogy.Interfaces</RepositoryUrl>
<Company>Analogy.LogViewer</Company>
</PropertyGroup>
<ItemGroup>
<None Include="..\icon.png">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
</ItemGroup>
</Project>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 3 additions & 4 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<Project>
<PropertyGroup>
<UseWindowsForms>true</UseWindowsForms>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<IncludeSymbols>True</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
Expand Down Expand Up @@ -31,11 +30,11 @@
</ItemGroup>
<!-- Analyzers (Roslyn, Meziantou, StyleCop, ...) -->
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.CodeStyle" Version="4.9.2">
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.CodeStyle" Version="4.11.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Meziantou.Analyzer" Version="2.0.152">
<PackageReference Include="Meziantou.Analyzer" Version="2.0.163">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand All @@ -53,7 +52,7 @@
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net48' or '$(TargetFramework)' == 'net471' ">
<PackageReference Include="Microsoft.Bcl.HashCode" Version="1.1.1" />
<PackageReference Include="PolySharp" Version="1.14.0 ">
<PackageReference Include="PolySharp" Version="1.14.1 ">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down

0 comments on commit b3ec931

Please sign in to comment.