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% %*
10 @call %~dp0run.cmd sync -PublishTestNativeBins %__args% %*
15 echo Repository syncing script.
18 echo -? - Prints Usage
19 echo -help - Prints Usage
20 echo -p - Restores all nuget packages for repository
21 echo -ab - Downloads the latests product packages from Azure.
22 echo The following properties are required:
23 echo -AzureAccount="Account name"
24 echo -AzureToken="Access token"
25 echo To download a specific group of product packages, specify:
28 echo To download from a specific container, specify:
29 echo -Container="container name"
32 echo If no option is specified then sync.cmd -p is implied.