This commit is contained in:
Jérôme Laban 2018-01-12 10:49:21 -05:00
Родитель 174b9dda0d
Коммит f08b9cef00
3 изменённых файлов: 52 добавлений и 1 удалений

21
.appveyor.yml Normal file
Просмотреть файл

@ -0,0 +1,21 @@
image: Visual Studio 2017
branches:
only:
- master
nuget:
disable_publish_on_pr: true
skip_commits:
files:
- 'doc/**/*.*'
init:
- ps: git config --global core.autocrlf true
build_script:
- ps: .\build\build.ps1 -script build\build.cake
artifacts:
- path: .\build\*.nupkg

21
AppVeyor.yml Normal file
Просмотреть файл

@ -0,0 +1,21 @@
image: Visual Studio 2017
branches:
only:
- master
nuget:
disable_publish_on_pr: true
skip_commits:
files:
- 'doc/**/*.*'
init:
- ps: git config --global core.autocrlf true
build_script:
- ps: .\build\build.ps1 -Script="build\build.cake"
artifacts:
- path: .\build\*.nupkg

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

@ -25,7 +25,7 @@ var signClientVersion = "0.9.0";
var baseDir = MakeAbsolute(Directory("../")).ToString();
var buildDir = baseDir + "/build";
var Solution = baseDir + "/../src/Uno.SourceGenerator.sln";
var Solution = baseDir + "/src/Uno.SourceGenerator.sln";
var toolsDir = buildDir + "/tools";
GitVersion versionInfo = null;
@ -95,6 +95,15 @@ Task("Build")
MaxCpuCount = 1
}
.SetConfiguration("Release")
.WithTarget("Restore");
MSBuild(Solution, buildSettings);
buildSettings = new MSBuildSettings
{
MaxCpuCount = 1
}
.SetConfiguration("Release")
.WithTarget("Build");
MSBuild(Solution, buildSettings);