2017-11-10 00:46:50 +03:00
|
|
|
version: '{build}'
|
|
|
|
image: Visual Studio 2017
|
|
|
|
configuration: Release
|
|
|
|
install:
|
|
|
|
- cmd: appveyor DownloadFile https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
|
|
|
|
before_build:
|
2017-11-14 11:04:50 +03:00
|
|
|
- cmd: nuget.exe restore PackageReferenceEditor.sln
|
2017-11-10 00:46:50 +03:00
|
|
|
build:
|
2017-11-14 11:04:50 +03:00
|
|
|
project: PackageReferenceEditor.sln
|
2017-11-10 00:46:50 +03:00
|
|
|
verbosity: minimal
|
2017-11-12 15:57:21 +03:00
|
|
|
after_build:
|
|
|
|
- cmd: >-
|
2017-11-14 11:04:50 +03:00
|
|
|
dotnet restore src/PackageReferenceEditor
|
2017-11-12 15:57:21 +03:00
|
|
|
|
2017-11-14 11:04:50 +03:00
|
|
|
dotnet build src/PackageReferenceEditor/PackageReferenceEditor.csproj -c Release -f netstandard2.0
|
2017-11-12 15:57:21 +03:00
|
|
|
|
2017-11-14 11:04:50 +03:00
|
|
|
dotnet pack src/PackageReferenceEditor/PackageReferenceEditor.csproj -c Release
|
2017-11-14 14:19:19 +03:00
|
|
|
|
|
|
|
dotnet restore src/PackageReferenceEditor.Avalonia
|
|
|
|
|
|
|
|
dotnet build src/PackageReferenceEditor.Avalonia/PackageReferenceEditor.Avalonia.csproj -c Release -f netcoreapp2.0
|
|
|
|
|
|
|
|
dotnet publish src/PackageReferenceEditor.Avalonia/PackageReferenceEditor.Avalonia.csproj -c Release -f netcoreapp2.0 -r win7-x64 -o bin/win7-x64
|
|
|
|
|
|
|
|
dotnet publish src/PackageReferenceEditor.Avalonia/PackageReferenceEditor.Avalonia.csproj -c Release -f netcoreapp2.0 -r ubuntu.14.04-x64 -o bin/ubuntu.14.04-x64
|
|
|
|
|
|
|
|
dotnet publish src/PackageReferenceEditor.Avalonia/PackageReferenceEditor.Avalonia.csproj -c Release -f netcoreapp2.0 -r osx.10.12-x64 -o bin/osx.10.12-x64
|
2017-11-10 00:46:50 +03:00
|
|
|
test: off
|
|
|
|
artifacts:
|
2017-11-14 14:19:19 +03:00
|
|
|
- path: src\PackageReferenceEditor.Avalonia\bin\win7-x64
|
|
|
|
name: PackageReferenceEditor.Avalonia-win7-x64
|
|
|
|
- path: src\PackageReferenceEditor.Avalonia\bin\ubuntu.14.04-x64
|
|
|
|
name: PackageReferenceEditor.Avalonia-ubuntu.14.04-x64
|
|
|
|
- path: src\PackageReferenceEditor.Avalonia\bin\osx.10.12-x64
|
|
|
|
name: PackageReferenceEditor.Avalonia-osx.10.12-x64
|
2017-11-14 11:04:50 +03:00
|
|
|
- path: src\PackageReferenceEditor.WPF\bin\Release
|
|
|
|
name: PackageReferenceEditor.WPF
|
|
|
|
- path: src\PackageReferenceEditor\bin\Release\*.nupkg
|
|
|
|
deploy: off
|