File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -51,23 +51,23 @@ cache:
51
51
- packages
52
52
53
53
before_build :
54
- - nuget restore "C:\projects\libgit2sharp \LibGit2Sharp.sln"
54
+ - nuget restore "%APPVEYOR_BUILD_FOLDER% \LibGit2Sharp.sln"
55
55
56
56
build_script :
57
- - msbuild "C:\projects\libgit2sharp \LibGit2Sharp.sln" /verbosity:normal /p:Configuration=Release /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /property:ExtraDefine="LEAKS_IDENTIFYING"
57
+ - msbuild "%APPVEYOR_BUILD_FOLDER% \LibGit2Sharp.sln" /verbosity:normal /p:Configuration=Release /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /property:ExtraDefine="LEAKS_IDENTIFYING"
58
58
59
59
test_script :
60
- - ' %xunit_runner% "C:\projects\libgit2sharp \LibGit2Sharp.Tests\bin\Release\LibGit2Sharp.Tests.dll" /appveyor'
60
+ - ' %xunit_runner% "%APPVEYOR_BUILD_FOLDER% \LibGit2Sharp.Tests\bin\Release\LibGit2Sharp.Tests.dll" /appveyor'
61
61
- IF %ERRORLEVEL% NEQ 0 EXIT /B %ERRORLEVEL%
62
62
63
63
on_success :
64
64
- ps : |
65
- & "C:\projects\libgit2sharp \nuget.package\BuildNugetPackage.ps1" "$env:APPVEYOR_REPO_COMMIT"
66
- Add-Type -Path "C:\projects\libgit2sharp \LibGit2Sharp\bin\Release\LibGit2Sharp.dll"
65
+ & "$env:APPVEYOR_BUILD_FOLDER \nuget.package\BuildNugetPackage.ps1" "$env:APPVEYOR_REPO_COMMIT"
66
+ Add-Type -Path "$env:APPVEYOR_BUILD_FOLDER \LibGit2Sharp\bin\Release\LibGit2Sharp.dll"
67
67
Write-Host "LibGit2Sharp version = $([LibGit2Sharp.GlobalSettings]::Version)" -ForegroundColor "Magenta"
68
68
If ($Env:SHOULD_PUBLISH_NUGET_ARTIFACT -eq $True)
69
69
{
70
- Get-ChildItem "C:\projects\libgit2sharp \LibGit2sharp\*.nupkg" | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
70
+ Get-ChildItem "$env:APPVEYOR_BUILD_FOLDER \LibGit2sharp\*.nupkg" | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
71
71
}
72
72
73
73
notifications :
You can’t perform that action at this time.
0 commit comments