Commit 151f05cd authored by Nick Craver's avatar Nick Craver

PowerShell build updates: include .Contrib

parent c4516fd0
...@@ -31,12 +31,14 @@ foreach { ...@@ -31,12 +31,14 @@ foreach {
# Restore packages and build product # Restore packages and build product
& dotnet restore "Dapper" & dotnet restore "Dapper"
& dotnet restore "Dapper.Contrib"
if ($LASTEXITCODE -ne 0) if ($LASTEXITCODE -ne 0)
{ {
throw "dotnet restore failed with exit code $LASTEXITCODE" throw "dotnet restore failed with exit code $LASTEXITCODE"
} }
& dotnet pack "Dapper" --configuration Release --output "artifacts\packages" & dotnet pack "Dapper" --configuration Release --output "artifacts\packages"
& dotnet pack "Dapper.Contrib" --configuration Release --output "artifacts\packages"
#restore, compile, and run tests #restore, compile, and run tests
& dotnet restore "Dapper.Tests" -f "artifacts\packages" & dotnet restore "Dapper.Tests" -f "artifacts\packages"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment