From 8883c45584a3ebb5a6bcfe08b6aaf0d69ed78fe9 Mon Sep 17 00:00:00 2001 From: Unknown Date: Tue, 23 Oct 2018 16:41:48 +0100 Subject: [PATCH] add avalonia.native package --- packages.cake | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/packages.cake b/packages.cake index b2e6291662..b7a7ab57bd 100644 --- a/packages.cake +++ b/packages.cake @@ -446,7 +446,24 @@ public class Packages }, BasePath = context.Directory("./src/Linux/"), OutputDirectory = parameters.NugetRoot - } + }, + /////////////////////////////////////////////////////////////////////////////// + // Avalonia.Native + /////////////////////////////////////////////////////////////////////////////// + new NuGetPackSettings() + { + Id = "Avalonia.Native", + Dependencies = new [] + { + new NuSpecDependency() { Id = "Avalonia", Version = parameters.Version } + }, + Files = new [] + { + new NuSpecContent { Source = "Avalonia.Native.dll", Target = "lib/netstandard2.0" } + }, + BasePath = context.Directory("./src/Avalonia.Native/bin/" + parameters.DirSuffix + "/netstandard2.0"), + OutputDirectory = parameters.NugetRoot + }, }; var nuspecNuGetSettingInterop = new NuGetPackSettings()