Skip to content

Commit dcdb5b4

Browse files
authored
Merge pull request #121 from gep13/feature/GH-104
(GH-104) Switch to using embedded icon
2 parents dd48ccf + 17780a1 commit dcdb5b4

File tree

5 files changed

+29
-0
lines changed

5 files changed

+29
-0
lines changed

build/build.cake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ Task("PackNuget")
194194
EnsureDirectoryExists(paths.workingDirNuget + "/netstandard1.6/MagicChunks");
195195
EnsureDirectoryExists(paths.workingDirNuget + "/netstandard2.0/MagicChunks");
196196

197+
CopyFile(paths.root + "/logo/logo64.png", paths.workingDirNuget + "/logo64.png");
197198
CopyFiles(resolveDirectoryPath(paths.workingDirSources + "/nuspecs") + "/*.nuspec", paths.workingDirNuget);
198199
CopyFiles(paths.workingDirDotNet + "/**/*.*", paths.workingDirNuget + "/netstandard1.3/MagicChunks");
199200
CopyFiles(paths.workingDirDotNet + "/**/*.*", paths.workingDirNuget + "/netstandard1.6/MagicChunks");

nuspecs/MagicChunks.nuspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<license type="expression">MIT</license>
1010
<repository type="git" url="https://github.com/magic-chunks/magic-chunks-dotnetcore.git"/>
1111
<projectUrl>https://github.com/magic-chunks/magic-chunks-dotnetcore</projectUrl>
12+
<icon>logo64.png</icon>
1213
<iconUrl>https://raw.githubusercontent.com/magic-chunks/magic-chunks-dotnetcore/master/logo/logo64.png</iconUrl>
1314
<requireLicenseAcceptance>false</requireLicenseAcceptance>
1415
<description>Easy to use tool to config transformations for JSON, XML and YAML.</description>
@@ -29,5 +30,6 @@
2930
<file src="netstandard2.0\MagicChunks\MagicChunks.Cake.dll" target="lib\netstandard2.0" />
3031
<file src="netstandard2.0\MagicChunks\MagicChunks.targets" target="lib\netstandard2.0" />
3132
<file src="netstandard2.0\MagicChunks\MagicChunks.psm1" target="lib\netstandard2.0" />
33+
<file src="logo64.png" target="" />
3234
</files>
3335
</package>

src/MagicChunks.Cake/MagicChunks.Cake.csproj

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,20 @@
99
<Copyright>(c) Sergey Zwezdin, 2017</Copyright>
1010
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1111
<PackageProjectUrl>https://github.com/magic-chunks/magic-chunks-dotnetcore</PackageProjectUrl>
12+
<PackageIcon>logo64.png</PackageIcon>
1213
<PackageIconUrl>https://raw.githubusercontent.com/magic-chunks/magic-chunks-dotnetcore/master/logo/logo64.png</PackageIconUrl>
1314
<RepositoryUrl>https://github.com/magic-chunks/magic-chunks-dotnetcore</RepositoryUrl>
1415
<RepositoryType>Git</RepositoryType>
1516
<PackageTags>Configuration, Transform, JSON, XML, YAML, YML, web.config, app.config, appsetings.json</PackageTags>
1617
</PropertyGroup>
1718

19+
<ItemGroup>
20+
<None Include="../../logo/logo64.png">
21+
<Pack>True</Pack>
22+
<PackagePath></PackagePath>
23+
</None>
24+
</ItemGroup>
25+
1826
<ItemGroup>
1927
<PackageReference Include="Cake.Core" Version="0.26.1" />
2028
</ItemGroup>

src/MagicChunks.Tests/MagicChunks.Tests.csproj

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
<Copyright>(c) Sergey Zwezdin, 2017</Copyright>
1111
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1212
<PackageProjectUrl>https://github.com/magic-chunks/magic-chunks-dotnetcore</PackageProjectUrl>
13+
<PackageIcon>logo64.png</PackageIcon>
1314
<PackageIconUrl>https://raw.githubusercontent.com/magic-chunks/magic-chunks-dotnetcore/master/logo/logo64.png</PackageIconUrl>
1415
<RepositoryUrl>https://github.com/magic-chunks/magic-chunks-dotnetcore</RepositoryUrl>
1516
<RepositoryType>Git</RepositoryType>
@@ -18,6 +19,14 @@
1819
<IsPackable>false</IsPackable>
1920
</PropertyGroup>
2021

22+
<ItemGroup>
23+
<None Include="../../logo/logo64.png">
24+
<Pack>True</Pack>
25+
<PackagePath></PackagePath>
26+
</None>
27+
</ItemGroup>
28+
29+
2130
<ItemGroup>
2231
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.5.0" />
2332
<PackageReference Include="xunit" Version="2.3.1" />

src/MagicChunks/MagicChunks.csproj

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,20 @@
1010
<Copyright>(c) Sergey Zwezdin, 2017</Copyright>
1111
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1212
<PackageProjectUrl>https://github.com/magic-chunks/magic-chunks-dotnetcore</PackageProjectUrl>
13+
<PackageIcon>logo64.png</PackageIcon>
1314
<PackageIconUrl>https://raw.githubusercontent.com/magic-chunks/magic-chunks-dotnetcore/master/logo/logo64.png</PackageIconUrl>
1415
<RepositoryUrl>https://github.com/magic-chunks/magic-chunks-dotnetcore</RepositoryUrl>
1516
<RepositoryType>Git</RepositoryType>
1617
<PackageTags>Configuration, Transform, JSON, XML, YAML, YML, web.config, app.config, appsetings.json</PackageTags>
1718
</PropertyGroup>
19+
20+
<ItemGroup>
21+
<None Include="../../logo/logo64.png">
22+
<Pack>True</Pack>
23+
<PackagePath></PackagePath>
24+
</None>
25+
</ItemGroup>
26+
1827
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0'">
1928
<PackageReference Include="Newtonsoft.Json" Version="11.0.2" />
2029
</ItemGroup>

0 commit comments

Comments
 (0)