Skip to content

Commit

Permalink
Externalise properties in prep for split
Browse files Browse the repository at this point in the history
  • Loading branch information
thompson-tomo committed May 21, 2024
1 parent 09f2ec9 commit 90aba96
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 22 deletions.
26 changes: 26 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<Project>
<PropertyGroup>
<Authors>AsyncAPI Initiative</Authors>
<TargetFrameworks>net6.0</TargetFrameworks>
<IsPackable>true</IsPackable>
<PackageIcon>logo.png</PackageIcon>
<PackageTags>asyncapi;aspnetcore;openapi;documentation;amqp</PackageTags>
<RepositoryUrl>https://github.com/asyncapi/saunter</RepositoryUrl>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<PackageProjectUrl>https://github.com/asyncapi/saunter</PackageProjectUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
</PropertyGroup>

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

<PropertyGroup>
<DocumentationFile>bin\$(Configuration)\Saunter.xml</DocumentationFile>
<NoWarn>1701;1702;1591</NoWarn>
</PropertyGroup>
</Project>
1 change: 1 addition & 0 deletions Saunter.sln
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
.editorconfig = .editorconfig
CHANGELOG.md = CHANGELOG.md
.github\workflows\ci.yaml = .github\workflows\ci.yaml
Directory.Build.props = Directory.Build.props
Directory.Packages.props = Directory.Packages.props
README.md = README.md
.github\workflows\release.yaml = .github\workflows\release.yaml
Expand Down
22 changes: 0 additions & 22 deletions src/Saunter/Saunter.csproj
Original file line number Diff line number Diff line change
@@ -1,32 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<IsPackable>true</IsPackable>
<PackageId>Saunter</PackageId>
<Title>Saunter</Title>
<PackageIcon>logo.png</PackageIcon>
<PackageReadmeFile>README.md</PackageReadmeFile>
<Authors>AsyncAPI Initiative</Authors>
<Description>Code-first AsyncAPI documentation</Description>
<PackageTags>asyncapi;aspnetcore;openapi;documentation;amqp</PackageTags>
<RepositoryUrl>https://github.com/asyncapi/saunter</RepositoryUrl>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<PackageProjectUrl>https://github.com/asyncapi/saunter</PackageProjectUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
</PropertyGroup>

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

<PropertyGroup>
<DocumentationFile>bin\$(Configuration)\Saunter.xml</DocumentationFile>
<NoWarn>1701;1702;1591</NoWarn>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 90aba96

Please sign in to comment.