Skip to content

Commit

Permalink
Sync script changes from the runtime repo #18943
Browse files Browse the repository at this point in the history
  • Loading branch information
Tratcher committed Feb 14, 2020
1 parent 00e8e95 commit f8d7c8a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions src/Shared/runtime/CopyToAspNetCore.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ IF [%remote_repo%] == [] (

echo ASPNETCORE_REPO: %remote_repo%

robocopy . %remote_repo%\src\Shared\runtime /MIR
robocopy .\..\..\..\..\..\tests\Tests\System\Net\aspnetcore\ %remote_repo%\src\Shared\test\Shared.Tests\runtime /MIR
REM https://superuser.com/questions/280425/getting-robocopy-to-return-a-proper-exit-code
(robocopy . %remote_repo%\src\Shared\runtime /MIR) ^& IF %ERRORLEVEL% LSS 8 SET ERRORLEVEL = 0
(robocopy .\..\..\..\..\..\tests\Tests\System\Net\aspnetcore\ %remote_repo%\src\Shared\test\Shared.Tests\runtime /MIR) ^& IF %ERRORLEVEL% LSS 8 SET ERRORLEVEL = 0
5 changes: 3 additions & 2 deletions src/Shared/runtime/CopyToRuntime.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ IF [%remote_repo%] == [] (

echo RUNTIME_REPO: %remote_repo%

robocopy . %remote_repo%\src\libraries\Common\src\System\Net\Http\aspnetcore /MIR
robocopy .\..\test\Shared.Tests\runtime %remote_repo%\src\libraries\Common\tests\Tests\System\Net\aspnetcore /MIR
REM https://superuser.com/questions/280425/getting-robocopy-to-return-a-proper-exit-code
(robocopy . %remote_repo%\src\libraries\Common\src\System\Net\Http\aspnetcore /MIR) ^& IF %ERRORLEVEL% LSS 8 SET ERRORLEVEL = 0
(robocopy .\..\test\Shared.Tests\runtime %remote_repo%\src\libraries\Common\tests\Tests\System\Net\aspnetcore /MIR) ^& IF %ERRORLEVEL% LSS 8 SET ERRORLEVEL = 0

0 comments on commit f8d7c8a

Please sign in to comment.