build-scripts/winrtbuild.ps1
changeset 9941 d0c6d95483d9
parent 9940 f2d5ed0d9686
child 9942 e82bfd942409
equal deleted inserted replaced
9940:f2d5ed0d9686 9941:d0c6d95483d9
   246     } else {
   246     } else {
   247         Write-Host -ForegroundColor Cyan "Building SDL2 NuGet packages..."
   247         Write-Host -ForegroundColor Cyan "Building SDL2 NuGet packages..."
   248         Write-Host -ForegroundColor Cyan "... via NuGet install: $NugetPath"
   248         Write-Host -ForegroundColor Cyan "... via NuGet install: $NugetPath"
   249         $NugetOutputDir = "$PSScriptRoot\..\VisualC-WinRT\lib\nuget"
   249         $NugetOutputDir = "$PSScriptRoot\..\VisualC-WinRT\lib\nuget"
   250         Write-Host -ForegroundColor Cyan "...  output directory: $NugetOutputDir"
   250         Write-Host -ForegroundColor Cyan "...  output directory: $NugetOutputDir"
   251         $SDLHGRevision = $($(hg log -l 1 | select-string "changeset") -Replace "changeset:\W*(\d+).*",'$1') 2>$null
   251         $SDLHGRevision = $($(hg log -l 1 --repository "$PSScriptRoot\.." | select-string "changeset") -Replace "changeset:\W*(\d+).*",'$1') 2>$null
   252         Write-Host -ForegroundColor Cyan "...       HG Revision: $SDLHGRevision"
   252         Write-Host -ForegroundColor Cyan "...       HG Revision: $SDLHGRevision"
   253 
   253 
   254         # Base options to nuget.exe
   254         # Base options to nuget.exe
   255         $NugetOptions = @("pack", "PACKAGE_NAME_WILL_GO_HERE", "-Output", "$NugetOutputDir")
   255         $NugetOptions = @("pack", "PACKAGE_NAME_WILL_GO_HERE", "-Output", "$NugetOutputDir")
   256 
   256