зеркало из https://github.com/microsoft/jschema.git
Build in AppVeyor. (#20)
This commit is contained in:
Родитель
aee4143010
Коммит
4cef97e396
|
@ -0,0 +1,30 @@
|
|||
image: Visual Studio 2017
|
||||
|
||||
init:
|
||||
- git config --global core.autocrlf true
|
||||
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
|
||||
platform: Any CPU
|
||||
|
||||
configuration:
|
||||
- Release
|
||||
|
||||
build_script:
|
||||
- dotnet build src\Everything.sln
|
||||
|
||||
test:
|
||||
assemblies: '**\*.UnitTests.dll'
|
||||
|
||||
notifications:
|
||||
- provider: Email
|
||||
to:
|
||||
- vsarcplat@microsoft.com
|
||||
subject: '{{projectName}} Build {{status}}: Version: {{buildVersion}}'
|
||||
on_build_status_changed: true
|
||||
|
||||
cache:
|
||||
- packages -> **\packages.config
|
||||
- '%LocalAppData%\NuGet\Cache'
|
|
@ -34,4 +34,8 @@ namespace $namespace
|
|||
|
||||
$outputFile = "$outputDirectory\VersionConstants.cs"
|
||||
|
||||
if (-not (Test-Path $outputDirectory)) {
|
||||
New-Item -Type Directory $outputDirectory | Out-Null
|
||||
}
|
||||
|
||||
Set-Content $outputFile $versionConstantsFileContents
|
||||
|
|
Загрузка…
Ссылка в новой задаче