|
52 | 52 | <Protobuf ProtoRoot="Runtime/GrpcInterface/" Include= "Runtime/GrpcInterface/*.proto" OutputDir="Runtime\GrpcInterface\Generated" GrpcServices="Client" />
|
53 | 53 | </ItemGroup>
|
54 | 54 |
|
55 |
| - <!-- Copy NuGet binaries to 'Dependencies/NuGetDependencies'--> |
| 55 | + <!-- Copy NuGet binaries to 'Plugins'--> |
56 | 56 | <Target Name="CopyNuGetDependencies" AfterTargets="AfterBuild">
|
57 | 57 | <ItemGroup>
|
58 | 58 | <OutputFiles Include="$(OutDir)/*.*"/>
|
59 | 59 | </ItemGroup>
|
60 |
| - <Copy SourceFiles="@(OutputFiles)" DestinationFolder="./Dependencies/NuGetDependencies/$(RuntimeIdentifier)" SkipUnchangedFiles="true"/> |
| 60 | + <Copy SourceFiles="@(OutputFiles)" DestinationFolder="./Plugins/$(RuntimeIdentifier)" SkipUnchangedFiles="true"/> |
61 | 61 | </Target>
|
62 | 62 |
|
63 | 63 | <!-- Delete build artifacts-->
|
|
69 | 69 | <RemoveDir Directories="@(BuildArtifacts)"/>
|
70 | 70 | </Target>
|
71 | 71 |
|
72 |
| - <!-- Download YetAnotherHttpHandler from GitHub and copy into Dependencies directory--> |
| 72 | + <!-- Download YetAnotherHttpHandler from GitHub and copy into 'YetAnotherHttpHandler'--> |
73 | 73 | <Target Name="InstallYetAnotherHttpHandler" AfterTargets="AfterBuild" Condition="'$(InstallYetAnotherHttpHandler)' == 'true'">
|
74 |
| - <RemoveDir Directories="Dependencies/tmp"/> |
75 |
| - <MakeDir Directories="Dependencies"/> |
76 |
| - <Exec Command="git clone --no-checkout --depth=1 --filter=tree:0 --branch $(YetAnotherHttpHandlerVersion) https://github.com/Cysharp/YetAnotherHttpHandler tmp" ConsoleToMSBuild="true" WorkingDirectory="Dependencies"/> |
77 |
| - <Exec Command="git sparse-checkout set --no-cone /src/YetAnotherHttpHandler" ConsoleToMSBuild="true" WorkingDirectory="Dependencies/tmp"/> |
78 |
| - <Exec Command="git checkout $(YetAnotherHttpHandlerVersion)" ConsoleToMSBuild="true" WorkingDirectory="Dependencies/tmp"/> |
| 74 | + <RemoveDir Directories="tmp"/> |
| 75 | + <Exec Command="git clone --no-checkout --depth=1 --filter=tree:0 --branch $(YetAnotherHttpHandlerVersion) https://github.com/Cysharp/YetAnotherHttpHandler tmp" ConsoleToMSBuild="true"/> |
| 76 | + <Exec Command="git sparse-checkout set --no-cone /src/YetAnotherHttpHandler" ConsoleToMSBuild="true" WorkingDirectory="tmp"/> |
| 77 | + <Exec Command="git checkout $(YetAnotherHttpHandlerVersion)" ConsoleToMSBuild="true" WorkingDirectory="tmp"/> |
79 | 78 | <ItemGroup>
|
80 |
| - <PackageFiles Include="Dependencies/tmp/src/YetAnotherHttpHandler/**/*.*"/> |
| 79 | + <PackageFiles Include="tmp/src/YetAnotherHttpHandler/**/*.*"/> |
81 | 80 | </ItemGroup>
|
82 |
| - <Copy SourceFiles="@(PackageFiles)" DestinationFolder="Dependencies/YetAnotherHttpHandler/%(RecursiveDir)"/> |
83 |
| - <RemoveDir Directories="Dependencies/tmp;obj"/> |
| 81 | + <Copy SourceFiles="@(PackageFiles)" DestinationFolder="YetAnotherHttpHandler/%(RecursiveDir)"/> |
| 82 | + <RemoveDir Directories="tmp;obj"/> |
84 | 83 | </Target>
|
85 | 84 | </Project>
|
0 commit comments