1+ # Copyright (c) 2019-2020 The Khronos Group Inc.
2+ # SPDX-License-Identifier: Apache-2.0
13param (
2- [Parameter (Mandatory = $true , HelpMessage = " Path to unzipped openxr_loader_windows OpenXR-SDK release asset" )]
4+ [Parameter (Mandatory = $true , HelpMessage = " Path to unzipped openxr_loader_windows OpenXR-SDK release asset" )]
35 $SDKRelease ,
4- [Parameter (Mandatory = $true , HelpMessage = " Path to specification Makefile. Needed to extract the version" )]
6+ [Parameter (Mandatory = $true , HelpMessage = " Path to specification Makefile. Needed to extract the version" )]
57 $SpecMakefile ,
6- [Parameter (Mandatory = $true , HelpMessage = " Path create staged nuget directory layout" )]
8+ [Parameter (Mandatory = $true , HelpMessage = " Path create staged nuget directory layout" )]
79 $NugetStaging )
810
911$ErrorActionPreference = " Stop"
@@ -30,7 +32,7 @@ $SDKVersion = $VersionMatch.Matches[0].Groups[1]
3032#
3133# Start off using the NuGet template.
3234#
33- echo " Copy-Item $NugetTemplate $NugetStaging -Recurse"
35+ Write-Output " Copy-Item $NugetTemplate $NugetStaging -Recurse"
3436Copy-Item $NugetTemplate $NugetStaging - Recurse
3537
3638#
@@ -51,8 +53,7 @@ Copy-Item (Join-Path $SDKRelease "include") (Join-Path $NugetStaging "include")
5153#
5254# Copy in the binaries from the SDK release.
5355#
54- function CopyLoader ($Platform )
55- {
56+ function CopyLoader ($Platform ) {
5657 $PlatformSDKPath = Join-Path $SDKRelease " $Platform "
5758 $NuGetPlatformPath = Join-Path $NugetStaging " native/$Platform /release"
5859
0 commit comments