1 @if not defined _echo @echo off
2 setlocal EnableDelayedExpansion
4 if /I [%1] == [-?] goto Usage
5 if /I [%1] == [-help] goto Usage
7 @if [%1]==[] set __args=-p
9 @call %~dp0run.cmd sync %__args% %*
14 echo Repository syncing script.
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:
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)
36 echo If no option is specified then sync.cmd -p is implied.