One more reverted change in PR
[platform/upstream/coreclr.git] / sync.cmd
1 @if not defined _echo @echo off
2 setlocal EnableDelayedExpansion
3
4 if /I [%1] == [-?] goto Usage
5 if /I [%1] == [-help] goto Usage
6
7 @if [%1]==[] set __args=-p
8
9  @call %~dp0run.cmd sync %__args% %*
10 @exit /b %ERRORLEVEL%
11
12 :Usage
13 echo.
14 echo Repository syncing script.
15 echo.
16 echo Options:
17 echo     -?     - Prints Usage
18 echo     -help  - Prints Usage
19 echo     -p     - Restores all nuget packages for repository
20 echo     -ab    - Downloads the latests product packages from Azure.
21 echo              The following properties are required:
22 echo                 -AzureAccount="Account name"
23 echo                 -AzureToken="Access token"
24 echo              To download a specific group of product packages, specify:
25 echo                 -BuildMajor
26 echo                 -BuildMinor
27 echo              To download from a specific container, specify:
28 echo                 -Container="container name"
29 echo              To download blobs starting with a specific prefix, specify:
30 echo                 -BlobNamePrefix="Blob name prefix"
31 echo              To specify which RID you are downloading binaries for (optional):
32 echo                 -RuntimeId="RID" (Needs to match what's in the container)
33 echo.
34 echo.
35 echo.
36 echo If no option is specified then sync.cmd -p is implied.