Skip to content

Commit

Permalink
Copy nuget package to nugetpackage output and create nuget packag on …
Browse files Browse the repository at this point in the history
…build (#833)
  • Loading branch information
Barsonax authored Jun 8, 2020
1 parent 93e3645 commit f69b5b5
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion Source/DualityTemplates/DualityTemplates.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<DebugSymbols>false</DebugSymbols>
<DebugType>None</DebugType>
<NoDefaultExcludes>true</NoDefaultExcludes>
</PropertyGroup>

<ItemGroup>
Expand Down Expand Up @@ -52,12 +53,22 @@

<Target Name="CreateZips" AfterTargets="Build">
<ZipDirectory SourceDirectory="$(OutputPath)/Templates/SolutionTemplate" DestinationFile="$(OutputPath)\Duality.zip" Overwrite="true" />

<RemoveDir Directories="$(OutputPath)/Templates" />
</Target>

<Target Name="CopyPackage" AfterTargets="Pack">
<ItemGroup>
<NugetPackages Include="$(OutputPath)*.nupkg" />
</ItemGroup>

<Copy SourceFiles="@(NugetPackages)" DestinationFolder="$(MSBuildProjectDirectory)\..\..\Build\NightlyBuild\NuGetPackages" />
</Target>


<Target Name="CoreCompile" />
<PropertyGroup>
<SkipCopyBuildProduct>true</SkipCopyBuildProduct>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
</PropertyGroup>
</Project>
</Project>

0 comments on commit f69b5b5

Please sign in to comment.