summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorWes Haggard <Wes.Haggard@microsoft.com>2018-03-26 18:02:53 (GMT)
committerWes Haggard <Wes.Haggard@microsoft.com>2018-03-26 18:02:53 (GMT)
commitaf6715e91b241bfe09bfde3842f325429a35913a (patch)
treec813e68ef5365578484400c0361e78c401f2ddaf /build.sh
parentb5f4d2df2e087401f2c3aab2c37021e326707915 (diff)
downloadcoreclr-af6715e91b241bfe09bfde3842f325429a35913a.zip
coreclr-af6715e91b241bfe09bfde3842f325429a35913a.tar.gz
coreclr-af6715e91b241bfe09bfde3842f325429a35913a.tar.bz2
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.sh')
-rwxr-xr-xbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index d6c1be5..9ea292e 100755
--- a/build.sh
+++ b/build.sh
@@ -164,7 +164,7 @@ restore_optdata()
if [[ ( $__SkipRestoreOptData == 0 ) && ( $__isMSBuildOnNETCoreSupported == 1 ) ]]; then
echo "Restoring the OptimizationData package"
- "$__ProjectRoot/run.sh" sync -optdata $__UnprocessedBuildArgs
+ "$__ProjectRoot/run.sh" build -optdata $__RunArgs $__UnprocessedBuildArgs
if [ $? != 0 ]; then
echo "Failed to restore the optimization data package."
exit 1