|
1 | 1 | <Project>
|
| 2 | + |
| 3 | + <!--GLOBAL--> |
2 | 4 | <PropertyGroup>
|
3 | 5 | <Version>12.1.1</Version>
|
4 | 6 | <PackageVersion>12.1.1</PackageVersion>
|
|
11 | 13 | <NeutralLanguage>en</NeutralLanguage>
|
12 | 14 | <Copyright>Copyright © ONIXLabs 2020</Copyright>
|
13 | 15 | <RepositoryUrl>https://github.com/onix-labs/onixlabs-dotnet</RepositoryUrl>
|
| 16 | + <ContinuousIntegrationBuild Condition="'$(CI)' == 'true'">true</ContinuousIntegrationBuild> |
14 | 17 | </PropertyGroup>
|
| 18 | + |
| 19 | + <!--NUGET PACKAGES--> |
| 20 | + <PropertyGroup Condition="!$([System.String]::Copy('$(MSBuildProjectName)').EndsWith('.UnitTests')) and !$([System.String]::Copy('$(MSBuildProjectName)').EndsWith('.UnitTests.Data'))"> |
| 21 | + <AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder> |
| 22 | + <DebugType>embedded</DebugType> |
| 23 | + <EmbedUntrackedSources>true</EmbedUntrackedSources> |
| 24 | + <GenerateDocumentationFile>true</GenerateDocumentationFile> |
| 25 | + <IncludeSymbols>true</IncludeSymbols> |
| 26 | + <PackageLicenseExpression>Apache-2.0</PackageLicenseExpression> |
| 27 | + <PackageProjectUrl>https://github.com/onix-labs/onixlabs-dotnet</PackageProjectUrl> |
| 28 | + <PackageReadmeFile>README.md</PackageReadmeFile> |
| 29 | + <PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance> |
| 30 | + <PublishRepositoryUrl>true</PublishRepositoryUrl> |
| 31 | + <RepositoryType>git</RepositoryType> |
| 32 | + </PropertyGroup> |
| 33 | + |
| 34 | + <ItemGroup Condition="!$([System.String]::Copy('$(MSBuildProjectName)').EndsWith('.UnitTests')) and !$([System.String]::Copy('$(MSBuildProjectName)').EndsWith('.UnitTests.Data'))"> |
| 35 | + <PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0"> |
| 36 | + <PrivateAssets>all</PrivateAssets> |
| 37 | + <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> |
| 38 | + </PackageReference> |
| 39 | + <None Include="..\README.md" Pack="true" PackagePath="\"/> |
| 40 | + </ItemGroup> |
| 41 | + |
| 42 | + <!--UNIT TESTS--> |
| 43 | + <PropertyGroup Condition="$([System.String]::Copy('$(MSBuildProjectName)').EndsWith('.UnitTests'))"> |
| 44 | + <IsTestProject>true</IsTestProject> |
| 45 | + <IsPackable>false</IsPackable> |
| 46 | + <GeneratePackageOnBuild>false</GeneratePackageOnBuild> |
| 47 | + </PropertyGroup> |
| 48 | + |
| 49 | + <ItemGroup Condition="$([System.String]::Copy('$(MSBuildProjectName)').EndsWith('.UnitTests'))"> |
| 50 | + <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.1"/> |
| 51 | + <PackageReference Include="xunit" Version="2.9.3"/> |
| 52 | + <PackageReference Include="xunit.runner.visualstudio" Version="2.8.2"/> |
| 53 | + <PackageReference Include="coverlet.collector" Version="6.0.4"/> |
| 54 | + <Using Include="Xunit"/> |
| 55 | + </ItemGroup> |
| 56 | + |
| 57 | + <!--UNIT TEST DATA--> |
| 58 | + <PropertyGroup Condition="$([System.String]::Copy('$(MSBuildProjectName)').EndsWith('.UnitTests.Data'))"> |
| 59 | + <IsTestProject>false</IsTestProject> |
| 60 | + <IsPackable>false</IsPackable> |
| 61 | + <GeneratePackageOnBuild>false</GeneratePackageOnBuild> |
| 62 | + </PropertyGroup> |
| 63 | + |
| 64 | + <ItemGroup Condition="$([System.String]::Copy('$(MSBuildProjectName)').EndsWith('.UnitTests.Data'))"> |
| 65 | + <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.1"/> |
| 66 | + <PackageReference Include="xunit" Version="2.9.3"/> |
| 67 | + <Using Include="Xunit"/> |
| 68 | + </ItemGroup> |
| 69 | + |
| 70 | + <!--PLAYGROUND--> |
| 71 | + <PropertyGroup Condition="'$(OutputType)' == 'Exe'"> |
| 72 | + <IsPackable>false</IsPackable> |
| 73 | + <GeneratePackageOnBuild>false</GeneratePackageOnBuild> |
| 74 | + </PropertyGroup> |
| 75 | + |
15 | 76 | </Project>
|
0 commit comments