dotnet-installer/build/publish/Checksum.targets
2017-02-14 15:42:13 -08:00

21 lines
915 B
XML

<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Target Name="GenerateChecksums"
DependsOnTargets="Init;
InitializeChecksumItemGroup;"
Inputs="@(ArtifactsForGeneratingChecksums)"
Outputs="%(ArtifactsForGeneratingChecksums.DestinationPath)">
<GenerateChecksums Items="@(ArtifactsForGeneratingChecksums)" />
</Target>
<Target Name="InitializeChecksumItemGroup"
DependsOnTargets="Init;
GatherItemsForPattern">
<ItemGroup>
<ArtifactsForGeneratingChecksums Include="@(ForPublishing)">
<DestinationPath>%(ForPublishing.FullPath).sha</DestinationPath>
<RelativeBlobPath>%(ForPublishing.RelativeBlobPath).sha</RelativeBlobPath>
</ArtifactsForGeneratingChecksums>
</ItemGroup>
</Target>
</Project>