diff options
author | Wes Haggard <Wes.Haggard@microsoft.com> | 2018-03-26 11:02:53 -0700 |
---|---|---|
committer | Wes Haggard <Wes.Haggard@microsoft.com> | 2018-03-26 11:02:53 -0700 |
commit | af6715e91b241bfe09bfde3842f325429a35913a (patch) | |
tree | c813e68ef5365578484400c0361e78c401f2ddaf /build.sh | |
parent | b5f4d2df2e087401f2c3aab2c37021e326707915 (diff) | |
download | coreclr-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.sh')
-rwxr-xr-x | build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |