File tree Expand file tree Collapse file tree 6 files changed +14
-14
lines changed Expand file tree Collapse file tree 6 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 11@ ECHO  OFF 
2- powershell .exe -NoLogo -NoProfile -ExecutionPolicy ByPass -Command " & " " " %~dp0 scripts\build.ps1" " "  -build %* " 
2+ pwsh .exe -NoLogo -NoProfile -ExecutionPolicy ByPass -Command " & " " " %~dp0 scripts\build.ps1" " "  -build %* " 
33EXIT  /B %ERRORLEVEL% 
Original file line number Diff line number Diff line change 11@ ECHO  OFF 
2- powershell .exe -NoLogo -NoProfile -ExecutionPolicy ByPass -Command " & " " " %~dp0 scripts\build.ps1" " "  -pack %* " 
2+ pwsh .exe -NoLogo -NoProfile -ExecutionPolicy ByPass -Command " & " " " %~dp0 scripts\build.ps1" " "  -pack %* " 
33EXIT  /B %ERRORLEVEL% 
Original file line number Diff line number Diff line change 11@ ECHO  OFF 
2- powershell .exe -NoLogo -NoProfile -ExecutionPolicy ByPass -Command " & " " " %~dp0 scripts\build.ps1" " "  -restore %* " 
2+ pwsh .exe -NoLogo -NoProfile -ExecutionPolicy ByPass -Command " & " " " %~dp0 scripts\build.ps1" " "  -restore %* " 
33EXIT  /B %ERRORLEVEL% 
Original file line number Diff line number Diff line change @@ -103,25 +103,25 @@ function Test-Win32Metadata {
103103    $clangSharpPInvokeGeneratorBinaries  =  (Get-ChildItem  - Path " $clangSharpPInvokeGeneratorOutputDir " - File).FullName
104104    Copy-Item  - Path $clangSharpPInvokeGeneratorBinaries  - Destination " $win32MetadataToolsDir " 
105105
106-     $generateMetadataSourceCmd   =  Join-Path  - Path $win32MetadataDir  - ChildPath " GenerateMetadataSource.cmd " 
107-     &  " $generateMetadataSourceCmd  " 
106+     $generateMetadataSourcePs1   =  Join-Path  - Path $win32MetadataDir  - ChildPath " scripts\ GenerateMetadataSource.ps1 " 
107+     &  " $generateMetadataSourcePs1  " 
108108
109109    if  ($LastExitCode  -ne  0 ) {
110-       throw  " 'GenerateMetadataSource.cmd ' failed" 
110+       throw  " 'GenerateMetadataSource.ps1 ' failed" 
111111    }
112112
113-     $buildMetadataBinCmd   =  Join-Path  - Path $win32MetadataDir  - ChildPath " BuildMetadataBin.cmd " 
114-     &  " $buildMetadataBinCmd  " 
113+     $buildMetadataBinPs1   =  Join-Path  - Path $win32MetadataDir  - ChildPath " scripts\ BuildMetadataBin.ps1 " 
114+     &  " $buildMetadataBinPs1  " 
115115
116116    if  ($LastExitCode  -ne  0 ) {
117-       throw  " 'BuildMetadataBin.cmd ' failed" 
117+       throw  " 'BuildMetadataBin.ps1 ' failed" 
118118    }
119119
120-     $testMetdataBinCmd   =  Join-Path  - Path $win32MetadataDir  - ChildPath " TestMetadataBin.cmd " 
121-     &  " $testMetdataBinCmd  " 
120+     $testWinmdBinaryPs1   =  Join-Path  - Path $win32MetadataDir  - ChildPath " scripts\TestWinmdBinary.ps1 " 
121+     &  " $testWinmdBinaryPs1  " 
122122
123123    if  ($LastExitCode  -ne  0 ) {
124-       throw  " 'TestMetadataBin.cmd ' failed" 
124+       throw  " 'TestWinmdBinary.ps1 ' failed" 
125125    }
126126  }
127127  finally  {
Original file line number Diff line number Diff line change 11@ ECHO  OFF 
2- powershell .exe -NoLogo -NoProfile -ExecutionPolicy ByPass -Command " & " " " %~dp0 build.ps1" " "  -ci %* " 
2+ pwsh .exe -NoLogo -NoProfile -ExecutionPolicy ByPass -Command " & " " " %~dp0 build.ps1" " "  -ci %* " 
33EXIT  /B %ERRORLEVEL% 
Original file line number Diff line number Diff line change 11@ ECHO  OFF 
2- powershell .exe -NoLogo -NoProfile -ExecutionPolicy ByPass -Command " & " " " %~dp0 scripts\build.ps1" " "  -test %* " 
2+ pwsh .exe -NoLogo -NoProfile -ExecutionPolicy ByPass -Command " & " " " %~dp0 scripts\build.ps1" " "  -test %* " 
33EXIT  /B %ERRORLEVEL% 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments