[Build] Create the Portable bits on Windows
This commit is contained in:
Родитель
c6f4edd97c
Коммит
7b55d3b547
|
@ -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");
|
||||||
});
|
});
|
||||||
|
|
Загрузка…
Ссылка в новой задаче