Skip to content

Commit

Permalink
PowerShell build updates: include .Contrib
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Craver committed Apr 17, 2016
1 parent c4516fd commit 151f05c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,14 @@ foreach {

# Restore packages and build product
& dotnet restore "Dapper"
& dotnet restore "Dapper.Contrib"
if ($LASTEXITCODE -ne 0)
{
throw "dotnet restore failed with exit code $LASTEXITCODE"
}

& dotnet pack "Dapper" --configuration Release --output "artifacts\packages"
& dotnet pack "Dapper.Contrib" --configuration Release --output "artifacts\packages"

#restore, compile, and run tests
& dotnet restore "Dapper.Tests" -f "artifacts\packages"
Expand Down

0 comments on commit 151f05c

Please sign in to comment.