Skip to content

Commit

Permalink
[NoTicket] - Tidied up the appveyor.yml, by removing logging statements.
Browse files Browse the repository at this point in the history
Also updated the NuGet metadata in project.json.
  • Loading branch information
eoin55 committed Jan 4, 2017
1 parent 0e72eab commit 5a924db
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
6 changes: 3 additions & 3 deletions Src/HoneyBear.HalClient/project.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"version": "1.0.0-*",
"version": "1.0.0",
"title": "HoneyBear.HalClient",
"description": "A lightweight fluent .NET client for navigating and consuming HAL APIs.",
"language": "en-US",
"authors": [ "Eoin O'Connor" ],
"copyright": "Copyright © Eoin O'Connor 2016",
"copyright": "Copyright Eoin O'Connor 2017",
"buildOptions": {
"xmlDoc": true
},
"packOptions": {
"owners": [ "Eoin O'Connor" ],
"projectUrl": "https://github.com/eoin55/HoneyBear.HalClient",
"tags": [ "HAL", "JSON", "Hypermedia", "HATEOAS", "REST" ],
"licenseUrl": "https://github.com/eoin55/HoneyBear.HalClient/LICENSE",
"licenseUrl": "https://github.com/eoin55/HoneyBear.HalClient/blob/master/LICENSE",
"repository": {
"type": "git",
"url": "git://github.com/eoin55/HoneyBear.HalClient"
Expand Down
13 changes: 5 additions & 8 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,16 @@ before_build:
$json = Get-Content .\Src\HoneyBear.HalClient\project.json -raw | ConvertFrom-Json
Write-Host $json
Write-Host "version = " + $json.version
Write-Host "version = $env:APPVEYOR_BUILD_VERSION"
$json.version = "$env:APPVEYOR_BUILD_VERSION"
$json | ConvertTo-Json | Set-Content .\Src\HoneyBear.HalClient\project.json
build_script:
- dotnet build ".\Src\HoneyBear.HalClient" -c %CONFIGURATION%
after_build:
- dotnet pack ".\Src\HoneyBear.HalClient" -c %CONFIGURATION% --no-build -o artifacts
- ps: >-
dotnet pack ".\Src\HoneyBear.HalClient" -c %CONFIGURATION% --no-build -o artifacts
Remove-Item .\artifacts\*.symbols.nupkg
test_script:
- dotnet test ".\Src\HoneyBear.HalClient.Unit.Tests" -c %CONFIGURATION%
after_test:
Expand Down

0 comments on commit 5a924db

Please sign in to comment.