This repository has been archived by the owner. It is now read-only.
Permalink
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (17 sloc) 593 Bytes
Param(
[string]$buildNumber = "0",
[string]$preRelease = $null
)
gci .\source -Recurse "packages.config" |% {
"Restoring " + $_.FullName
.\source\.nuget\nuget.exe i $_.FullName -o .\source\packages
}
Import-Module .\source\packages\psake.4.4.1\tools\psake.psm1
if(Test-Path Env:\APPVEYOR_BUILD_NUMBER){
$buildNumber = [int]$Env:APPVEYOR_BUILD_NUMBER
Write-Host "Using APPVEYOR_BUILD_NUMBER"
$task = "appVeyor"
}
"Build number $buildNumber"
Invoke-Psake .\default.ps1 $task -framework "4.0x64" -properties @{ buildNumber=$buildNumber; preRelease=$preRelease }
Remove-Module psake