aboutsummaryrefslogtreecommitdiff
path: root/scripts/fetchDependency.ps1
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-05-06 21:37:04 -0700
committerRobert Schumacher <roschuma@microsoft.com>2017-05-06 21:37:04 -0700
commit68159355be589c14f464d57429a705567457c917 (patch)
treeaa7bce28a5ea046e321466c8fa2ada92bcc57dd7 /scripts/fetchDependency.ps1
parent22848e4b7e29a3a74c28afafe4d177e541ec8638 (diff)
downloadvcpkg-68159355be589c14f464d57429a705567457c917.tar.gz
vcpkg-68159355be589c14f464d57429a705567457c917.zip
[vcpkg] Add more logging to findXYZ.ps1
Diffstat (limited to 'scripts/fetchDependency.ps1')
-rw-r--r--scripts/fetchDependency.ps16
1 files changed, 5 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."