Skip to content

Commit

Permalink
Added debug target
Browse files Browse the repository at this point in the history
  • Loading branch information
Farshad DASHTI authored and Farshad DASHTI committed Oct 3, 2024
1 parent 8ab0d6d commit 1432a2a
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@
<Authors>DFE-Digital</Authors>
</PropertyGroup>

<Target Name="ShowReadmePath" BeforeTargets="Pack">
<Message Text="Readme path: $(MSBuildThisFileDirectory)readme.md" Importance="high" />
<Target Name="CheckReadmeExists" BeforeTargets="Pack">
<Message Text="Checking if $(MSBuildThisFileDirectory)readme.md exists..." Importance="high" />
<Error Text="The readme.md file is missing in $(MSBuildThisFileDirectory)" Condition="!Exists('$(MSBuildThisFileDirectory)readme.md')" />
</Target>

<ItemGroup>
Expand Down

0 comments on commit 1432a2a

Please sign in to comment.