Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNate Amundson <naamunds@microsoft.com>2016-02-20 00:52:30 +0300
committerNate Amundson <naamunds@microsoft.com>2016-02-20 00:52:30 +0300
commit43ba2e8f1a43396668d7941fe27771268cae17f1 (patch)
tree6484232b7d1f9944a4b7e78abf17ec0d36750983 /sync.cmd
parentcb13b0e0ba5eb8e9940eaae0fe782d1df5b06de0 (diff)
Add sync.sh for dev workflow
This script is used for syncing one's repo. Also make a few minor fixes to sync.cmd.
Diffstat (limited to 'sync.cmd')
-rw-r--r--sync.cmd10
1 files changed, 6 insertions, 4 deletions
diff --git a/sync.cmd b/sync.cmd
index 65bb49e600..84b6dfe38a 100644
--- a/sync.cmd
+++ b/sync.cmd
@@ -37,11 +37,12 @@ goto Loop
:Begin
+echo Running init-tools.cmd
call %~dp0init-tools.cmd
if [%src%] == [true] (
echo Fetching git database from remote repos ...
- call git fetch --all -p >> %synclog%
+ call git fetch --all -p -v >> %synclog% 2>&1
if NOT [%ERRORLEVEL%]==[0] (
echo ERROR: An error occurred while fetching remote source code, see %synclog% for more details.
exit /b
@@ -50,8 +51,8 @@ if [%src%] == [true] (
if [%packages%] == [true] (
echo Restoring all packages ...
- echo msbuild.exe %~dp0build.proj /t:BatchRestorePackages /nologo /v:minimal /p:RestoreDuringBuild=true /flp:v=diag;Append;LogFile=%synclog% >> %synclog%
- call msbuild.exe %~dp0build.proj /t:BatchRestorePackages /nologo /v:minimal /p:RestoreDuringBuild=true /flp:v=diag;Append;LogFile=%synclog%
+ echo msbuild.exe %~dp0build.proj /t:BatchRestorePackages /nologo /v:minimal /p:RestoreDuringBuild=true /flp:v=detailed;Append;LogFile=%synclog% >> %synclog%
+ call msbuild.exe %~dp0build.proj /t:BatchRestorePackages /nologo /v:minimal /p:RestoreDuringBuild=true /flp:v=detailed;Append;LogFile=%synclog%
if NOT [%ERRORLEVEL%]==[0] (
echo ERROR: An error occurred while syncing packages, see %synclog% for more details. There may have been networking problems so please try again in a few minutes.
exit /b
@@ -68,7 +69,8 @@ echo.
echo Repository syncing script.
echo.
echo Options:
-echo /s - Fetches source history from all configured remotes (git fetch --all)
+echo /s - Fetches source history from all configured remotes
+echo (git fetch --all -p -v)
echo /p - Restores all nuget packages for repository
echo.
echo If no option is specified then sync.cmd /s /p is implied. \ No newline at end of file