Skip to content

Commit

Permalink
fix: Property IsTestableProject handled correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
samtrion committed Jan 1, 2024
1 parent 010e707 commit 880487d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</PropertyGroup>

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

</Project>
4 changes: 2 additions & 2 deletions Directory.Build.targets
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project>

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

</Project>

0 comments on commit 880487d

Please sign in to comment.