Jeremy Koritzinsky 8 лет назад
Родитель
Сommit
b96b34f11e
2 измененных файлов с 2 добавлено и 3 удалено
  1. 1 1
      packages.cake
  2. 1 2
      parameters.cake

+ 1 - 1
packages.cake

@@ -427,7 +427,7 @@ public class Packages
                 },
                 Files = new []
                 {
-                    new NuSpecContent { Source = "Avalonia.Skia/bin/" + parameters.DirSuffixSkia + "/Avalonia.Skia.dll", Target = "lib/netstandard1.3" }
+                    new NuSpecContent { Source = "Avalonia.Skia/bin/" + parameters.DirSuffix + "/netstandard1.3/Avalonia.Skia.dll", Target = "lib/netstandard1.3" }
                 },
                 BasePath = context.Directory("./src/Skia/"),
                 OutputDirectory = parameters.NugetRoot

+ 1 - 2
parameters.cake

@@ -32,7 +32,6 @@ public class Parameters
     public DirectoryPath BinRoot { get; private set; }
     public DirectoryPath TestsRoot { get; private set; }
     public string DirSuffix { get; private set; }
-    public string DirSuffixSkia { get; private set; }
     public string DirSuffixIOS { get; private set; }
     public DirectoryPathCollection BuildDirs { get; private set; }
     public string FileZipSuffix { get; private set; }
@@ -111,7 +110,7 @@ public class Parameters
 
         BuildDirs = context.GetDirectories("**/bin") + context.GetDirectories("**/obj");
 
-        DirSuffixSkia = DirSuffix = Configuration;
+        DirSuffix = Configuration;
         DirSuffixIOS = "iPhone" + "/" + Configuration;
 
         FileZipSuffix = Version + ".zip";