-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
4619a2b
commit c867bc0
Showing
7 changed files
with
59 additions
and
43 deletions.
There are no files selected for viewing
31 changes: 23 additions & 8 deletions
31
src/Cake.ResourceHacker.Tests/Cake.ResourceHacker.Tests.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,43 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net5.0</TargetFramework> | ||
<TargetFramework>net8.0</TargetFramework> | ||
<Nullable>enable</Nullable> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<None Include="ResourceHackerTest.cs" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Cake.Core" Version="1.0.0" /> | ||
<PackageReference Include="Cake.Testing" Version="1.0.0" /> | ||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.0.1" /> | ||
<PackageReference Include="NSubstitute" Version="4.0.0" /> | ||
<PackageReference Include="NUnit" Version="3.11.0" /> | ||
<PackageReference Include="NUnit3TestAdapter" Version="3.13.0" /> | ||
<PackageReference Include="Cake.Core" Version="4.0.0" /> | ||
<PackageReference Include="Cake.Testing" Version="4.0.0" /> | ||
<PackageReference Include="coverlet.msbuild" Version="6.0.0"> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
<PrivateAssets>all</PrivateAssets> | ||
</PackageReference> | ||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" /> | ||
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0"> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
<PrivateAssets>all</PrivateAssets> | ||
</PackageReference> | ||
<PackageReference Include="NSubstitute" Version="5.1.0" /> | ||
<PackageReference Include="NUnit" Version="4.0.1" /> | ||
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\Cake.ResourceHacker\Cake.ResourceHacker.csproj" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<Folder Include="Apps\" /> | ||
<Using Include="Cake.Core" /> | ||
<Using Include="Cake.Core.Configuration" /> | ||
<Using Include="Cake.Core.Diagnostics" /> | ||
<Using Include="Cake.Core.IO" /> | ||
<Using Include="Cake.Testing.Fixtures" /> | ||
<Using Include="NUnit.Framework" /> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,42 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFrameworks>net50;netstandard2.0;net46</TargetFrameworks> | ||
<TargetFrameworks>net6.0;net7.0;net8.0</TargetFrameworks> | ||
<GenerateDocumentationFile>true</GenerateDocumentationFile> | ||
<IncludeSymbols>true</IncludeSymbols> | ||
<SymbolPackageFormat>snupkg</SymbolPackageFormat> | ||
<CodeAnalysisRuleSet></CodeAnalysisRuleSet> | ||
<Nullable>enable</Nullable> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup> | ||
<PackageId>Cake.ResourceHacker</PackageId> | ||
<Title>Cake.ResourceHacker</Title> | ||
<Description>ResourceHacker Addin for Cake Build.</Description> | ||
<PackageTags>Cake Script ResourceHacker cake-addin</PackageTags> | ||
<PackageTags>Cake Script Build ResourceHacker Deployment cake-addin addin cake-build</PackageTags> | ||
<Authors>Miha Markic</Authors> | ||
<Owners>Miha Markic, cake-contrib</Owners> | ||
<Description>ResourceHacker Addin for Cake Build, Test and Deployment Automation System.</Description> | ||
<RepositoryUrl>https://github.com/cake-contrib/Cake.ResourceHacker.git</RepositoryUrl> | ||
<RepositoryType>git</RepositoryType> | ||
<IncludeSymbols>true</IncludeSymbols> | ||
<PackageProjectUrl>https://github.com/cake-contrib/Cake.ResourceHacker</PackageProjectUrl> | ||
<PackageIcon>icon.png</PackageIcon> | ||
<!-- for compatibility only --> | ||
<PackageIconUrl>https://cdn.jsdelivr.net/gh/cake-contrib/graphics/png/cake-contrib-medium.png</PackageIconUrl> | ||
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression> | ||
<SymbolPackageFormat>snupkg</SymbolPackageFormat> | ||
<PublishRepositoryUrl>true</PublishRepositoryUrl> | ||
<EmbedUntrackedSources>true</EmbedUntrackedSources> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netstandard2.0|AnyCPU'"> | ||
<DocumentationFile>bin\Release\netstandard2.0\Cake.ResourceHacker.xml</DocumentationFile> | ||
<PropertyGroup Condition="'$(Configuration)'=='Release'"> | ||
<DocumentationFile>bin\Release\net6.0\Cake.ResourceHacker.xml</DocumentationFile> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Cake.Addin.Analyzer" Version="0.1.3"> | ||
<PackageReference Include="Cake.Core" Version="4.0.0" PrivateAssets="All" /> | ||
<PackageReference Include="CakeContrib.Guidelines" Version="1.5.1"> | ||
<PrivateAssets>all</PrivateAssets> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
</PackageReference> | ||
<PackageReference Include="Cake.Core" Version="1.0.0" PrivateAssets="All" /> | ||
<PackageReference Include="CakeContrib.Guidelines" Version="0.5.0"> | ||
<PrivateAssets>all</PrivateAssets> | ||
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0"> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
<PrivateAssets>all</PrivateAssets> | ||
</PackageReference> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<None Include="icon.png"> | ||
<Pack>True</Pack> | ||
<PackagePath></PackagePath> | ||
</None> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,21 @@ | ||
namespace Cake.ResourceHacker | ||
{ | ||
/// <summary> | ||
/// Resource mask | ||
/// </summary> | ||
public struct Mask | ||
{ | ||
/// <summary> | ||
/// Type | ||
/// </summary> | ||
public string Type { get; set; } | ||
/// <summary> | ||
/// Name | ||
/// </summary> | ||
public string Name { get; set; } | ||
/// <summary> | ||
/// Language | ||
/// </summary> | ||
public string Language { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.