Skip to content

Commit

Permalink
fix appveyor build
Browse files Browse the repository at this point in the history
  • Loading branch information
jetersen committed Nov 8, 2019
1 parent c7e81a3 commit 1540cbc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions build.ps1
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
function Build()
{
& dotnet restore GitLabApiClient.sln | Write-Host
& dotnet restore | Write-Host
if ($LastExitCode -ne 0)
{
exit 1
}

& dotnet build src\GitLabApiClient\GitLabApiClient.csproj | Write-Host
& dotnet build --no-restore | Write-Host
if ($LastExitCode -ne 0)
{
exit 1
}

& dotnet build src\GitLabApiClient\GitLabApiClient.csproj -c Release | Write-Host
& dotnet build -c Release --no-restore | Write-Host
if ($LastExitCode -ne 0)
{
exit 1
Expand All @@ -21,7 +21,7 @@ function Build()

function Pack()
{
& dotnet pack src\GitLabApiClient\GitLabApiClient.csproj -c Release --no-build | Write-Host
& dotnet pack -c Release --no-restore --no-build | Write-Host
if ($LastExitCode -ne 0)
{
exit 1
Expand Down
2 changes: 1 addition & 1 deletion test.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
& dotnet test --filter Category!=LinuxIntegration --settings coverletArgs.runsettings
& dotnet test --filter Category!=LinuxIntegration --settings coverletArgs.runsettings --no-build --no-restore

if ($LastExitCode -ne 0)
{
Expand Down

0 comments on commit 1540cbc

Please sign in to comment.