Skip to content

Commit

Permalink
Merge pull request #121 from gep13/feature/GH-104
Browse files Browse the repository at this point in the history
(GH-104) Switch to using embedded icon
  • Loading branch information
pascalberger authored Jan 11, 2021
2 parents dd48ccf + 17780a1 commit dcdb5b4
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 0 deletions.
1 change: 1 addition & 0 deletions build/build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ Task("PackNuget")
EnsureDirectoryExists(paths.workingDirNuget + "/netstandard1.6/MagicChunks");
EnsureDirectoryExists(paths.workingDirNuget + "/netstandard2.0/MagicChunks");

CopyFile(paths.root + "/logo/logo64.png", paths.workingDirNuget + "/logo64.png");
CopyFiles(resolveDirectoryPath(paths.workingDirSources + "/nuspecs") + "/*.nuspec", paths.workingDirNuget);
CopyFiles(paths.workingDirDotNet + "/**/*.*", paths.workingDirNuget + "/netstandard1.3/MagicChunks");
CopyFiles(paths.workingDirDotNet + "/**/*.*", paths.workingDirNuget + "/netstandard1.6/MagicChunks");
Expand Down
2 changes: 2 additions & 0 deletions nuspecs/MagicChunks.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<license type="expression">MIT</license>
<repository type="git" url="https://github.com/magic-chunks/magic-chunks-dotnetcore.git"/>
<projectUrl>https://github.com/magic-chunks/magic-chunks-dotnetcore</projectUrl>
<icon>logo64.png</icon>
<iconUrl>https://raw.githubusercontent.com/magic-chunks/magic-chunks-dotnetcore/master/logo/logo64.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Easy to use tool to config transformations for JSON, XML and YAML.</description>
Expand All @@ -29,5 +30,6 @@
<file src="netstandard2.0\MagicChunks\MagicChunks.Cake.dll" target="lib\netstandard2.0" />
<file src="netstandard2.0\MagicChunks\MagicChunks.targets" target="lib\netstandard2.0" />
<file src="netstandard2.0\MagicChunks\MagicChunks.psm1" target="lib\netstandard2.0" />
<file src="logo64.png" target="" />
</files>
</package>
8 changes: 8 additions & 0 deletions src/MagicChunks.Cake/MagicChunks.Cake.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,20 @@
<Copyright>(c) Sergey Zwezdin, 2017</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/magic-chunks/magic-chunks-dotnetcore</PackageProjectUrl>
<PackageIcon>logo64.png</PackageIcon>
<PackageIconUrl>https://raw.githubusercontent.com/magic-chunks/magic-chunks-dotnetcore/master/logo/logo64.png</PackageIconUrl>
<RepositoryUrl>https://github.com/magic-chunks/magic-chunks-dotnetcore</RepositoryUrl>
<RepositoryType>Git</RepositoryType>
<PackageTags>Configuration, Transform, JSON, XML, YAML, YML, web.config, app.config, appsetings.json</PackageTags>
</PropertyGroup>

<ItemGroup>
<None Include="../../logo/logo64.png">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
</ItemGroup>

<ItemGroup>
<PackageReference Include="Cake.Core" Version="0.26.1" />
</ItemGroup>
Expand Down
9 changes: 9 additions & 0 deletions src/MagicChunks.Tests/MagicChunks.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<Copyright>(c) Sergey Zwezdin, 2017</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/magic-chunks/magic-chunks-dotnetcore</PackageProjectUrl>
<PackageIcon>logo64.png</PackageIcon>
<PackageIconUrl>https://raw.githubusercontent.com/magic-chunks/magic-chunks-dotnetcore/master/logo/logo64.png</PackageIconUrl>
<RepositoryUrl>https://github.com/magic-chunks/magic-chunks-dotnetcore</RepositoryUrl>
<RepositoryType>Git</RepositoryType>
Expand All @@ -18,6 +19,14 @@
<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<None Include="../../logo/logo64.png">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
</ItemGroup>


<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.5.0" />
<PackageReference Include="xunit" Version="2.3.1" />
Expand Down
9 changes: 9 additions & 0 deletions src/MagicChunks/MagicChunks.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,20 @@
<Copyright>(c) Sergey Zwezdin, 2017</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/magic-chunks/magic-chunks-dotnetcore</PackageProjectUrl>
<PackageIcon>logo64.png</PackageIcon>
<PackageIconUrl>https://raw.githubusercontent.com/magic-chunks/magic-chunks-dotnetcore/master/logo/logo64.png</PackageIconUrl>
<RepositoryUrl>https://github.com/magic-chunks/magic-chunks-dotnetcore</RepositoryUrl>
<RepositoryType>Git</RepositoryType>
<PackageTags>Configuration, Transform, JSON, XML, YAML, YML, web.config, app.config, appsetings.json</PackageTags>
</PropertyGroup>

<ItemGroup>
<None Include="../../logo/logo64.png">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0'">
<PackageReference Include="Newtonsoft.Json" Version="11.0.2" />
</ItemGroup>
Expand Down

0 comments on commit dcdb5b4

Please sign in to comment.