summaryrefslogtreecommitdiff
path: root/sync.cmd
diff options
context:
space:
mode:
authorJiyoung Yun <jy910.yun@samsung.com>2016-11-23 19:09:09 +0900
committerJiyoung Yun <jy910.yun@samsung.com>2016-11-23 19:09:09 +0900
commit4b4aad7217d3292650e77eec2cf4c198ea9c3b4b (patch)
tree98110734c91668dfdbb126fcc0e15ddbd93738ca /sync.cmd
parentfa45f57ed55137c75ac870356a1b8f76c84b229c (diff)
downloadcoreclr-4b4aad7217d3292650e77eec2cf4c198ea9c3b4b.tar.gz
coreclr-4b4aad7217d3292650e77eec2cf4c198ea9c3b4b.tar.bz2
coreclr-4b4aad7217d3292650e77eec2cf4c198ea9c3b4b.zip
Imported Upstream version 1.1.0upstream/1.1.0
Diffstat (limited to 'sync.cmd')
-rw-r--r--sync.cmd29
1 files changed, 29 insertions, 0 deletions
diff --git a/sync.cmd b/sync.cmd
new file mode 100644
index 0000000000..e883ef7f05
--- /dev/null
+++ b/sync.cmd
@@ -0,0 +1,29 @@
+@if "%_echo%" neq "on" echo off
+setlocal EnableDelayedExpansion
+
+if /I [%1] == [-?] goto Usage
+if /I [%1] == [-help] goto Usage
+
+@if [%1]==[] set __args=-p
+
+ @call %~dp0run.cmd sync %__args% %*
+@exit /b %ERRORLEVEL%
+
+:Usage
+echo.
+echo Repository syncing script.
+echo.
+echo Options:
+echo -? - Prints Usage
+echo -help - Prints Usage
+echo -p - Restores all nuget packages for repository
+echo -ab - Downloads the latests product packages from Azure.
+echo The following properties are required:
+echo -AzureAccount="Account name"
+echo -AzureToken="Access token"
+echo To download a specific group of product packages, specify:
+echo -BuildMajor
+echo -BuildMinor
+echo.
+echo.
+echo If no option is specified then sync.cmd -p is implied. \ No newline at end of file