Skip to content

Commit

Permalink
WIP: Test dcp path
Browse files Browse the repository at this point in the history
  • Loading branch information
joperezr committed Aug 20, 2024
1 parent c3cdb9b commit bd4ea6f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion eng/dcppack/Common.projitems
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@

<Target Name="Build" />

<Target Name="GetDCPBinaryLocation" Returns="$(DCPBinariesLocation)">
<Target Name="GetDCPBinaryLocation" Returns="$(DCPBinariesLocation)" DependsOnTargets="Restore">
<PropertyGroup>
<DCPBinariesLocation>$(NuGetPackageRoot)microsoft.developercontrolplane.$(DcpPlatform)/$(MicrosoftDeveloperControlPlanedarwinamd64PackageVersion)/tools</DCPBinariesLocation>
</PropertyGroup>
Expand Down
6 changes: 4 additions & 2 deletions tests/helix/send-to-helix-inner.proj
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,10 @@
</MSBuild>

<ItemGroup Condition="'$(NeedsDcpPathOverride)' == 'true'">
<_DcpInWorkloadPack Condition="'$(OS)' != 'Windows_NT'" Include="$(DCPBinaryLocation)\**\dcp" />
<_DcpInWorkloadPack Condition="'$(OS)' == 'Windows_NT'" Include="$(DCPBinaryLocation)\**\dcp.exe" />
<_joeTest Include="$(DCPBinaryLocation)\**\*" />

<_DcpInWorkloadPack Condition="'$(OS)' != 'Windows_NT'" Include="$(DCPBinaryLocation)/dcp" />
<_DcpInWorkloadPack Condition="'$(OS)' == 'Windows_NT'" Include="$(DCPBinaryLocation)\dcp.exe" />

<HelixCorrelationPayload Include="@(_DcpInWorkloadPack -> '%(RootDir)%(Directory)')" Destination="dcp" />

Expand Down

0 comments on commit bd4ea6f

Please sign in to comment.