Skip to content

Commit

Permalink
Move resulting packages to nupkg
Browse files Browse the repository at this point in the history
  • Loading branch information
Noggog committed Dec 22, 2024
1 parent 012a891 commit 4a163da
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Directory.Build.targets
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<Project>

<PropertyGroup>
<PackageOutputPath>..\nupkg</PackageOutputPath>
</PropertyGroup>

<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
<Exec Condition="$([MSBuild]::IsOSPlatform('Windows')) And $(PackageId) != ''" Command="RD /S /Q &quot;%25USERPROFILE%25\.nuget\packages\$(PackageId)&quot;" />
<Exec Condition="$([MSBuild]::IsOSPlatform('Linux')) And $(PackageId) != ''" Command="rm -rf &quot;%25USERPROFILE%25\.nuget\packages\$(PackageId)&quot;" />
Expand Down
7 changes: 7 additions & 0 deletions Translation Packages/Directory.Build.targets
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<Project>

<PropertyGroup>
<PackageOutputPath>..\..\nupkg</PackageOutputPath>
</PropertyGroup>

</Project>

0 comments on commit 4a163da

Please sign in to comment.