use new proj

This commit is contained in:
Tommy Parnell
2017-07-05 16:37:42 -04:00
parent 526f7b04c8
commit 2011b935d9
15 changed files with 68 additions and 156 deletions

View File

@@ -1,8 +1,6 @@
image: Visual Studio 2017
configuration: Release
version: 1.0.{build}
nuget:
account_feed: true
project_feed: true
artifacts:
- path: 'src\**\*.nupkg'
@@ -14,17 +12,18 @@ before_build:
- ps: .\core.exe /install /quiet /norestart
build_script:
- ps: dotnet restore
- ps: dotnet build -c Release .\src\UriBuilder.Fluent
- ps: dotnet build -c Release .\src\UriBuilder.Fluent.UnitTests
- ps: >-
dotnet restore HardHat.sln --source https://api.nuget.org/v3/index.json
dotnet build HardHat.sln
if($env:APPVEYOR_REPO_TAG -eq "true")
{
dotnet pack src\HardHat\HardHat.csproj --configuration Release --output ..\..\output /p:Version=$env:APPVEYOR_REPO_TAG_NAME
}
test_script:
- ps: dotnet test -c Release .\src\UriBuilder.Fluent.UnitTests
- ps: dotnet test -c Release .\src\UriBuilder.Fluent.UnitTests\UriBuilder.Fluent.UnitTests.csproj
- ps: .\Coverage.ps1
- ps: .\update-projectjson.ps1
- ps: dotnet restore
- ps: dotnet pack -c Release .\src\UriBuilder.Fluent
deploy:
- provider: NuGet