summaryrefslogtreecommitdiff
path: root/build.cmd
diff options
context:
space:
mode:
authorWes Haggard <Wes.Haggard@microsoft.com>2018-03-26 11:02:53 -0700
committerWes Haggard <Wes.Haggard@microsoft.com>2018-03-26 11:02:53 -0700
commitaf6715e91b241bfe09bfde3842f325429a35913a (patch)
treec813e68ef5365578484400c0361e78c401f2ddaf /build.cmd
parentb5f4d2df2e087401f2c3aab2c37021e326707915 (diff)
downloadcoreclr-af6715e91b241bfe09bfde3842f325429a35913a.tar.gz
coreclr-af6715e91b241bfe09bfde3842f325429a35913a.tar.bz2
coreclr-af6715e91b241bfe09bfde3842f325429a35913a.zip
Merge various restore tasks into one Sync target
There were various restore targets happening independently when they should all be combined so the sync step can be independent from the build step. This change merges them together under the Sync target. In particular this moves RestoreOptData and RestoreNETCorePlatforms to be part of the sync step instead of being individually ran. Pass BuildType to sync commands so optdata gets restored correctly
Diffstat (limited to 'build.cmd')
-rw-r--r--build.cmd2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.cmd b/build.cmd
index a9062f6083..ff1e28e565 100644
--- a/build.cmd
+++ b/build.cmd
@@ -320,7 +320,7 @@ REM ============================================================================
if %__RestoreOptData% EQU 1 if %__BuildTypeRelease% EQU 1 (
echo %__MsgPrefix%Restoring the OptimizationData Package
- @call %__ProjectDir%\run.cmd sync -optdata %__UnprocessedBuildArgs%
+ @call %__ProjectDir%\run.cmd build -optdata %__RunArgs% %__UnprocessedBuildArgs%
if not !errorlevel! == 0 (
echo %__MsgPrefix%Error: Failed to restore the optimization data package.
exit /b 1