Moved native nuget files around.

This commit is contained in:
Paul Knopf 2019-04-14 22:47:16 -04:00
parent 865d3f9376
commit 67fe2058d6
4 changed files with 6 additions and 6 deletions

View file

@ -80,17 +80,17 @@ namespace Build
if (IsWindows())
{
// Deploy our Windows binaries NuGet package.
RunShell($"dotnet pack {ExpandPath("src/native/Qml.Net.WindowsBinaries.csproj")} --output {ExpandPath("./output")} {commandBuildArgsWithVersion}");
RunShell($"dotnet pack {ExpandPath("src/native/nuget/Qml.Net.WindowsBinaries.csproj")} --output {ExpandPath("./output")} {commandBuildArgsWithVersion}");
}
if (IsOSX())
{
// Deploy our OSX binaries NuGet package.
RunShell($"dotnet pack {ExpandPath("src/native/Qml.Net.OSXBinaries.csproj")} --output {ExpandPath("./output")} {commandBuildArgsWithVersion}");
RunShell($"dotnet pack {ExpandPath("src/native/nuget/Qml.Net.OSXBinaries.csproj")} --output {ExpandPath("./output")} {commandBuildArgsWithVersion}");
}
if (IsLinux())
{
// Deploy our Linux binaries NuGet package.
RunShell($"dotnet pack {ExpandPath("src/native/Qml.Net.LinuxBinaries.csproj")} --output {ExpandPath("./output")} {commandBuildArgsWithVersion}");
RunShell($"dotnet pack {ExpandPath("src/native/nuget/Qml.Net.LinuxBinaries.csproj")} --output {ExpandPath("./output")} {commandBuildArgsWithVersion}");
}
});

View file

@ -12,7 +12,7 @@
<ProjectReference Include="..\net\Qml.Net\Qml.Net.csproj" />
</ItemGroup>
<ItemGroup>
<Content Include="output/**/*">
<Content Include="../output/**/*">
<PackagePath>runtimes/linux-x64/native/</PackagePath>
<Pack>true</Pack>
</Content>

View file

@ -12,7 +12,7 @@
<ProjectReference Include="..\net\Qml.Net\Qml.Net.csproj" />
</ItemGroup>
<ItemGroup>
<Content Include="output/**/*">
<Content Include="../output/**/*">
<PackagePath>runtimes/osx-x64/native/</PackagePath>
<Pack>true</Pack>
</Content>

View file

@ -12,7 +12,7 @@
<ProjectReference Include="..\net\Qml.Net\Qml.Net.csproj" />
</ItemGroup>
<ItemGroup>
<Content Include="output/**/*">
<Content Include="../output/**/*">
<PackagePath>runtimes/win-x64/native/</PackagePath>
<Pack>true</Pack>
</Content>