blob: f5483f3b9d70b54336f07d4289315e747a4b9309 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<Project>
<Target Name="NuGetToNix"
BeforeTargets="CopyInnerBuildRestoredPackages">
<ItemGroup>
<!-- dotnet 8 -->
<_NuGetToNixPackageCache Include="$(ProjectDirectory)artifacts/source-build/self/package-cache/"/>
<!-- dotnet 9 -->
<_NuGetToNixPackageCache Include="$(ProjectDirectory)artifacts/sb/package-cache/"/>
<!-- dotnet 10 -->
<_NuGetToNixPackageCache Include="$(RepoArtifactsPackageCache)"/>
</ItemGroup>
<Exec
Command="nuget-to-json '@(_NuGetToNixPackageCache)' >'$(ProjectDirectory)deps.json'"
WorkingDirectory="$(ProjectDirectory)"
Condition="Exists('%(Identity)')"/>
</Target>
</Project>
|