Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: '9.0.x'
dotnet-quality: 'preview'

- name: Set version
id: get_version
Expand Down Expand Up @@ -86,7 +85,6 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: '9.0.x'
dotnet-quality: 'preview'

- name: Download NuGetPackage artifact
uses: actions/download-artifact@v4
Expand Down
26 changes: 14 additions & 12 deletions src/Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,32 @@
</PropertyGroup>
<!-- Build packages-->
<ItemGroup>
<PackageVersion Include="Microsoft.Build.Framework" Version="17.11.4" PrivateAssets="all" />
<PackageVersion Include="Microsoft.Build.Utilities.Core" Version="17.11.4" PrivateAssets="all" />
<PackageVersion Include="Microsoft.Build.Framework" Version="17.12.6" PrivateAssets="all" />
<PackageVersion Include="Microsoft.Build.Utilities.Core" Version="17.12.6" PrivateAssets="all" />
<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="all" />
</ItemGroup>
<!-- Runtime packages -->
<ItemGroup>
<PackageVersion Include="Microsoft.Bcl.AsyncInterfaces" Version="9.0.0-rc.2.24473.5" PrivateAssets="all" />
<PackageVersion Include="System.Text.Json" Version="9.0.0-rc.2.24473.5" PrivateAssets="all" />
<PackageVersion Include="YamlDotNet" Version="16.1.3" PrivateAssets="all" GeneratePathProperty="true" />
<PackageVersion Include="YamlDotNet.System.Text.Json" Version="1.6.2" PrivateAssets="all" />
<PackageVersion Include="Microsoft.Bcl.AsyncInterfaces" Version="9.0.0" PrivateAssets="all" />
<PackageVersion Include="System.IO.Pipelines" Version="9.0.0" PrivateAssets="all" />
<PackageVersion Include="System.Text.Encodings.Web" Version="9.0.0" PrivateAssets="all" />
<PackageVersion Include="System.Text.Json" Version="9.0.0" PrivateAssets="all" />
<PackageVersion Include="YamlDotNet" Version="16.3.0" PrivateAssets="all" GeneratePathProperty="true" />
<PackageVersion Include="YamlDotNet.System.Text.Json" Version="1.6.5" PrivateAssets="all" />
</ItemGroup>
<!-- Test packages -->
<ItemGroup>
<PackageVersion Include="coverlet.collector" Version="6.0.2" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageVersion Include="coverlet.collector" Version="6.0.3" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
<PackageVersion Include="Moq" Version="4.20.72" />
<PackageVersion Include="MSTest.TestAdapter" Version="3.6.1" />
<PackageVersion Include="MSTest.TestFramework" Version="3.6.1" />
<PackageVersion Include="MSTest.TestAdapter" Version="3.7.0" />
<PackageVersion Include="MSTest.TestFramework" Version="3.7.0" />
</ItemGroup>
<!-- Global packages -->
<ItemGroup>
<GlobalPackageReference Include="AsyncFixer" Version="1.6.0" />
<GlobalPackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="9.0.0-preview.24454.1" />
<GlobalPackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="9.0.0" />
<GlobalPackageReference Include="ReferenceTrimmer" Version="3.3.10" />
<GlobalPackageReference Include="Roslynator.Analyzers" Version="4.12.8" />
<GlobalPackageReference Include="Roslynator.Analyzers" Version="4.12.10" />
</ItemGroup>
</Project>
136 changes: 70 additions & 66 deletions src/Task/AggregateConfigBuildTask.csproj
Original file line number Diff line number Diff line change
@@ -1,66 +1,70 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<SourceLinkCreate>true</SourceLinkCreate>
<NoWarn>NU5100,CA1031,CA1819,CA1027</NoWarn>
</PropertyGroup>

<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup>

<PropertyGroup>
<PackageId>AggregateConfigBuildTask</PackageId>
<Version Condition=" '$(Version)' == '' ">0.0.1</Version>
<Authors>Billy Richardson</Authors>
<Owner>richardsondev</Owner>
<Company>https://richardson.software</Company>
<Description>Merges configuration files at build time, allowing them to be embedded as resources for streamlined deployment and access.</Description>
<PackageTags>yaml, json, arm, build, configuration, msbuild</PackageTags>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<RepositoryUrl>https://github.com/richardsondev/AggregateConfigBuildTask</RepositoryUrl>
<PackageProjectUrl>https://github.com/richardsondev/AggregateConfigBuildTask</PackageProjectUrl>
<PackageReleaseNotes>https://github.com/richardsondev/AggregateConfigBuildTask/releases/tag/v$(Version)</PackageReleaseNotes>
<PackageReadmeFile>docs/README.md</PackageReadmeFile>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<NoPackageAnalysis>true</NoPackageAnalysis>
<BuildOutputTargetFolder>tasks</BuildOutputTargetFolder>
<PackageIcon>icon.png</PackageIcon>
</PropertyGroup>

<!-- Build time packages-->
<ItemGroup>
<PackageReference Include="Microsoft.Build.Framework" PrivateAssets="all" />
<PackageReference Include="Microsoft.Build.Utilities.Core" PrivateAssets="all" />
<PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="all" />
</ItemGroup>

<!-- Runtime packages -->
<ItemGroup>
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" PrivateAssets="all" />
<PackageReference Include="System.Text.Json" PrivateAssets="all" />
<PackageReference Include="YamlDotNet" PrivateAssets="all" GeneratePathProperty="true" />
<PackageReference Include="YamlDotNet.System.Text.Json" PrivateAssets="all" />
</ItemGroup>

<ItemGroup>
<None Include="$(OutputPath)/Microsoft.Bcl.AsyncInterfaces.dll" Pack="true" PackagePath="/tasks/netstandard2.0/" />
<None Include="$(OutputPath)/System.Text.Json.dll" Pack="true" PackagePath="/tasks/netstandard2.0/" />
<None Include="$(OutputPath)/YamlDotNet.dll" Pack="true" PackagePath="/tasks/netstandard2.0/" />
<None Include="$(OutputPath)/YamlDotNet.System.Text.Json.dll" Pack="true" PackagePath="/tasks/netstandard2.0/" />
<None Include="build/AggregateConfigBuildTask.targets" Pack="true" PackagePath="/build/AggregateConfigBuildTask.targets" />
<None Include="../ThirdPartyNotices.txt" Pack="true" PackagePath="/" />
<None Include="../../LICENSE" Pack="true" PackagePath="/licenses/">
<Link>licenses/LICENSE</Link>
</None>
<None Include="../../README.md" Pack="true" PackagePath="/docs/" />
<None Include="../../image/icon/icon_128.png" Pack="true" PackagePath="/icon.png" />
</ItemGroup>

</Project>
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<SourceLinkCreate>true</SourceLinkCreate>
<NoWarn>NU5100,CA1031,CA1819,CA1027</NoWarn>
</PropertyGroup>

<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup>

<PropertyGroup>
<PackageId>AggregateConfigBuildTask</PackageId>
<Version Condition=" '$(Version)' == '' ">0.0.1</Version>
<Authors>Billy Richardson</Authors>
<Owner>richardsondev</Owner>
<Company>https://richardson.software</Company>
<Description>Merges configuration files at build time, allowing them to be embedded as resources for streamlined deployment and access.</Description>
<PackageTags>yaml, json, arm, build, configuration, msbuild</PackageTags>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<RepositoryUrl>https://github.com/richardsondev/AggregateConfigBuildTask</RepositoryUrl>
<PackageProjectUrl>https://github.com/richardsondev/AggregateConfigBuildTask</PackageProjectUrl>
<PackageReleaseNotes>https://github.com/richardsondev/AggregateConfigBuildTask/releases/tag/v$(Version)</PackageReleaseNotes>
<PackageReadmeFile>docs/README.md</PackageReadmeFile>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<NoPackageAnalysis>true</NoPackageAnalysis>
<BuildOutputTargetFolder>tasks</BuildOutputTargetFolder>
<PackageIcon>icon.png</PackageIcon>
</PropertyGroup>

<!-- Build time packages-->
<ItemGroup>
<PackageReference Include="Microsoft.Build.Framework" PrivateAssets="all" />
<PackageReference Include="Microsoft.Build.Utilities.Core" PrivateAssets="all" />
<PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="all" />
</ItemGroup>

<!-- Runtime packages -->
<ItemGroup>
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" PrivateAssets="all" />
<PackageReference Include="System.IO.Pipelines" PrivateAssets="all" />
<PackageReference Include="System.Text.Encodings.Web" PrivateAssets="all" />
<PackageReference Include="System.Text.Json" PrivateAssets="all" />
<PackageReference Include="YamlDotNet" PrivateAssets="all" GeneratePathProperty="true" />
<PackageReference Include="YamlDotNet.System.Text.Json" PrivateAssets="all" />
</ItemGroup>

<ItemGroup>
<None Include="$(OutputPath)/Microsoft.Bcl.AsyncInterfaces.dll" Pack="true" PackagePath="/tasks/netstandard2.0/" />
<None Include="$(OutputPath)/System.IO.Pipelines.dll" Pack="true" PackagePath="/tasks/netstandard2.0/" />
<None Include="$(OutputPath)/System.Text.Encodings.Web.dll" Pack="true" PackagePath="/tasks/netstandard2.0/" />
<None Include="$(OutputPath)/System.Text.Json.dll" Pack="true" PackagePath="/tasks/netstandard2.0/" />
<None Include="$(OutputPath)/YamlDotNet.dll" Pack="true" PackagePath="/tasks/netstandard2.0/" />
<None Include="$(OutputPath)/YamlDotNet.System.Text.Json.dll" Pack="true" PackagePath="/tasks/netstandard2.0/" />
<None Include="build/AggregateConfigBuildTask.targets" Pack="true" PackagePath="/build/AggregateConfigBuildTask.targets" />
<None Include="../ThirdPartyNotices.txt" Pack="true" PackagePath="/" />
<None Include="../../LICENSE" Pack="true" PackagePath="/licenses/">
<Link>licenses/LICENSE</Link>
</None>
<None Include="../../README.md" Pack="true" PackagePath="/docs/" />
<None Include="../../image/icon/icon_128.png" Pack="true" PackagePath="/icon.png" />
</ItemGroup>

</Project>
Loading