diff options
author | Nate McMaster <natemcmaster@users.noreply.github.com> | 2017-12-01 02:03:51 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-01 02:03:51 +0300 |
commit | 1db6eb082336f1ce4b656b988bbb1c299fb3b378 (patch) | |
tree | c8ec0cd22f602fefbe414d9a019fa8a77f9c92f9 /run.ps1 | |
parent | 740b81e989a26cbfeadbeac9ea182d79e70b6b91 (diff) |
Add support for automatically installing new versions of the 2.1 runtime (#676)
Diffstat (limited to 'run.ps1')
-rw-r--r-- | run.ps1 | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -32,6 +32,9 @@ The path to the configuration file that stores values. Defaults to korebuild.jso .PARAMETER PackageVersionPropsUrl (optional) the url of the package versions props path containing dependency versions. +.PARAMETER AssetRootUrl +(optional) the base url for acquiring build assets from an orchestrated build + .PARAMETER AccessTokenSuffix (optional) the query string to append to any blob store access for PackageVersionPropsUrl, if any. @@ -198,7 +201,15 @@ if ($PackageVersionPropsUrl) { } if ($RestoreSources) { - $MSBuildArguments = "-p:DotNetRestoreSources=$RestoreSources" + $MSBuildArguments += "-p:DotNetRestoreSources=$RestoreSources" +} + +if ($AssetRootUrl) { + $MSBuildArguments += "-p:DotNetAssetRootUrl=$AssetRootUrl" +} + +if ($AccessTokenSuffix) { + $MSBuildArguments += "-p:DotNetAssetRootAccessTokenSuffix=$AccessTokenSuffix" } # Execute |