[Build] Create the Portable bits on Windows

This commit is contained in:
Matthew Leibowitz 2016-01-22 02:24:06 +02:00
Родитель c6f4edd97c
Коммит 7b55d3b547
1 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

@ -142,7 +142,10 @@ Task ("externals")
WorkingDirectory = input.GetDirectory ().FullPath, WorkingDirectory = input.GetDirectory ().FullPath,
}); });
} else { } else {
throw new Exception ("TODO: Generate PCL source for Windows."); StartProcess (CakeStealer.GenApiToolPath, new ProcessSettings {
Arguments = string.Format("-libPath:{2} -out \"{0}\" \"{1}\"", input.GetFilename () + ".cs", input.GetFilename (), libPath),
WorkingDirectory = input.GetDirectory ().FullPath,
});
} }
CopyFile ("binding/SkiaSharp.Generic/bin/Release/SkiaSharp.dll.cs", "binding/SkiaSharp.Portable/SkiaPortable.cs"); CopyFile ("binding/SkiaSharp.Generic/bin/Release/SkiaSharp.dll.cs", "binding/SkiaSharp.Portable/SkiaPortable.cs");
}); });