diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2017-05-06 21:37:04 -0700 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2017-05-06 21:37:04 -0700 |
| commit | 68159355be589c14f464d57429a705567457c917 (patch) | |
| tree | aa7bce28a5ea046e321466c8fa2ada92bcc57dd7 /scripts | |
| parent | 22848e4b7e29a3a74c28afafe4d177e541ec8638 (diff) | |
| download | vcpkg-68159355be589c14f464d57429a705567457c917.tar.gz vcpkg-68159355be589c14f464d57429a705567457c917.zip | |
[vcpkg] Add more logging to findXYZ.ps1
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/fetchDependency.ps1 | 6 | ||||
| -rw-r--r-- | scripts/findVisualStudioInstallationInstances.ps1 | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/scripts/fetchDependency.ps1 b/scripts/fetchDependency.ps1 index 9bf42505f..98144bffa 100644 --- a/scripts/fetchDependency.ps1 +++ b/scripts/fetchDependency.ps1 @@ -11,6 +11,8 @@ $downloadPromptOverride_ALWAYS_PROMPT = 2 Import-Module BitsTransfer -Verbose:$false +Write-Verbose "Fetching dependency: $Dependency" + $scriptsDir = split-path -parent $MyInvocation.MyCommand.Definition $vcpkgRootDir = & $scriptsDir\findFileRecursivelyUp.ps1 $scriptsDir .vcpkg-root @@ -235,4 +237,6 @@ function SelectProgram([Parameter(Mandatory=$true)][string]$Dependency) return $executableFromDownload } -SelectProgram $Dependency
\ No newline at end of file +SelectProgram $Dependency + +Write-Verbose "Fetching dependency: $Dependency. Done." diff --git a/scripts/findVisualStudioInstallationInstances.ps1 b/scripts/findVisualStudioInstallationInstances.ps1 index 0f685c6a9..14bfc244b 100644 --- a/scripts/findVisualStudioInstallationInstances.ps1 +++ b/scripts/findVisualStudioInstallationInstances.ps1 @@ -12,7 +12,9 @@ $nugetexe = & $scriptsDir\fetchDependency.ps1 "nuget" 1 $nugetPackageDir = "$downloadsDir\nuget-packages" $SetupAPIVersion = "1.8.24" +Write-Verbose "Fetching Microsoft.VisualStudio.Setup.Configuration.Native@$SetupAPIVersion from NuGet." $nugetOutput = & $nugetexe install Microsoft.VisualStudio.Setup.Configuration.Native -Version $SetupAPIVersion -OutputDirectory $nugetPackageDir -Source "https://api.nuget.org/v3/index.json" -nocache 2>&1 +Write-Verbose "Fetching Microsoft.VisualStudio.Setup.Configuration.Native@$SetupAPIVersion from NuGet. Done." $SetupConsoleExe = "$nugetPackageDir\Microsoft.VisualStudio.Setup.Configuration.Native.$SetupAPIVersion\tools\x86\Microsoft.VisualStudio.Setup.Configuration.Console.exe" |
