Skip to content

Commit

Permalink
chore: Rebuild Directory.Build.props and Directory.Build.targets (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
samtrion authored May 21, 2024
1 parent e8f82b1 commit a9a89e3
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 46 deletions.
20 changes: 20 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,25 @@
</PropertyGroup>

<Import Project="$(DirEngineeringSettings)sln.build.props" />
<Import Project="$(DirEngineeringSettings)src.build.props" Condition=" '$(IsTestableProject)' != 'true' " />
<Import Project="$(DirEngineeringSettings)tests.build.props" Condition=" '$(IsTestableProject)' == 'true' " />

<PropertyGroup Condition=" '$(IsTestableProject)' != 'true' " >
<Title>$(PackageId)</Title>
<Description>This library provides various compatibility features between `NUnit`, `XUnit` and `MSTest`.</Description>

<CopyrightYearStart>2023</CopyrightYearStart>

<PackageProjectUrl>https://github.com/dailydevops/extensions.test</PackageProjectUrl>
<RepositoryUrl>https://github.com/dailydevops/extensions.test.git</RepositoryUrl>

<PackageTags>compatibility;test;category;categories;culture;workitems</PackageTags>

<!-- Project is not a test project -->
<SonarQubeTestProject>false</SonarQubeTestProject>
</PropertyGroup>

<ItemGroup Condition=" '$(IsTestableProject)' == 'true' " >
<None Include="..\_snapshot\**\*.*" Link="_snapshot\%(RecursiveDir)%(Filename)%(Extension)" />
</ItemGroup>
</Project>
2 changes: 2 additions & 0 deletions Directory.Build.targets
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<Project>

<Import Project="$(DirEngineeringSettings)sln.build.targets" />
<Import Project="$(DirEngineeringSettings)src.build.targets" Condition=" '$(IsTestableProject)' != 'true' " />
<Import Project="$(DirEngineeringSettings)tests.build.targets" Condition=" '$(IsTestableProject)' == 'true' " />

</Project>
21 changes: 0 additions & 21 deletions src/Directory.Build.props

This file was deleted.

6 changes: 0 additions & 6 deletions src/Directory.Build.targets

This file was deleted.

10 changes: 0 additions & 10 deletions tests/Directory.Build.props

This file was deleted.

6 changes: 0 additions & 6 deletions tests/Directory.Build.targets

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@

using System;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using VerifyTests;

/// <summary>
/// Unit tests for <see cref="AcceptanceTestAttribute"/>.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
namespace NetEvolve.Extensions.XUnit.Tests.Unit;

using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
Expand Down

0 comments on commit a9a89e3

Please sign in to comment.