зеркало из
1
0
Форкнуть 0

Always build with MSBuild, so we don't need to use .NET Core. Fixes #6

This commit is contained in:
Matthew Leibowitz 2017-06-09 00:44:49 -05:00
Родитель 9cb44b2269
Коммит 6b8b26262b
4 изменённых файлов: 5 добавлений и 28 удалений

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

@ -11,8 +11,6 @@ interesting projects:
## Building
_Make sure [.NET Core][netcore] is installed._
The root just contains a build script that will build all the other
scripts. To build everything, just run the command-line:

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

@ -12,6 +12,7 @@ var fontAssemblies = "./source/SkiaSharp.Extended.Iconify.*/bin/" + configuratio
var buildSpec = new BuildSpec {
Libs = new ISolutionBuilder [] {
new DefaultSolutionBuilder {
AlwaysUseMSBuild = true,
SolutionPath = "./source/SkiaSharp.Extended.Iconify.sln",
Configuration = configuration,
OutputFiles = GetFiles(fontAssemblies)

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

@ -7,19 +7,8 @@ var verbosity = Argument("verbosity", "Verbose");
var buildSpec = new BuildSpec {
Libs = new ISolutionBuilder [] {
new DefaultSolutionBuilder {
PreBuildAction = () => {
// restore netstandard
StartProcess("dotnet", new ProcessSettings {
Arguments = "restore ./source/SkiaSharp.Extended.Svg.NetStandard.sln"
});
},
PostBuildAction = () => {
// build netstandard
StartProcess("dotnet", new ProcessSettings {
Arguments = "build -c " + configuration + " ./source/SkiaSharp.Extended.Svg.NetStandard.sln"
});
},
SolutionPath = "./source/SkiaSharp.Extended.Svg.NetFramework.sln",
AlwaysUseMSBuild = true,
SolutionPath = "./source/SkiaSharp.Extended.Svg.sln",
Configuration = configuration,
OutputFiles = new [] {
new OutputFileCopy {

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

@ -7,19 +7,8 @@ var verbosity = Argument("verbosity", "Verbose");
var buildSpec = new BuildSpec {
Libs = new ISolutionBuilder [] {
new DefaultSolutionBuilder {
PreBuildAction = () => {
// restore netstandard
StartProcess("dotnet", new ProcessSettings {
Arguments = "restore ./source/SkiaSharp.Extended.NetStandard.sln"
});
},
PostBuildAction = () => {
// build netstandard
StartProcess("dotnet", new ProcessSettings {
Arguments = "build -c " + configuration + " ./source/SkiaSharp.Extended.NetStandard.sln"
});
},
SolutionPath = "./source/SkiaSharp.Extended.NetFramework.sln",
AlwaysUseMSBuild = true,
SolutionPath = "./source/SkiaSharp.Extended.sln",
Configuration = configuration,
OutputFiles = new [] {
new OutputFileCopy {