Alexander Karatarakis
4077678583
Rename "depenencies" to tools. Rework xml file to reduce fields.
2018-02-23 18:19:04 -08:00
Alexander Karatarakis
a5fe308ea3
$script:MyInvocation.MyCommand.Definition
...
It works also in cases where scripts/functions are calling each other.
Without the $script prefix, it would instead give you the calling function OR the path if there was no parent function.
With the prefix, it always yields the directory of the script
2018-01-23 14:16:06 -08:00
Alexander Karatarakis
47bf4b6b5c
[fetchDependency] Now also returns output in the form <sol>data<eol>
2017-10-31 17:31:10 -07:00
Alexander Karatarakis
7d0bcceaf0
[findVSInstances] Data lines are now placed within <sol><eol> tags. Text outside these tags is ignored
...
This means we can print text in powershell now and it won't break vcpkg.
2017-10-31 17:31:10 -07:00
Alexander Karatarakis
50ae9eec87
Do not depend on newlines when getting output from powershell
2017-10-19 19:57:58 -07:00
Alexander Karatarakis
0051e7477b
[findVS] Add detection for VS2015 Build Tools
2017-10-16 17:04:55 -07:00
Alexander Karatarakis
ab7a1abc93
[VS detection] Add -products * flag to vswhere. This includes Express and BuildTools SKUs
2017-10-09 16:42:40 -07:00
Alexander Karatarakis
f0c23aeb6b
Completely rework Visual Studio detection
...
- Now using vswhere.exe to detect all VS instance (2015 + 2017)
- Default version preference order is now: stable, prerelease, legacy
- Within each preference weight, the latest one is chosen
- findVisualStudioInstallationInstances.ps1 now has a parameter to choose VS instance
2017-10-05 18:29:34 -07:00
Alexander Karatarakis
f4d11d7c9e
Remove download prompts for cmake/git
...
The prompts were causing a lot of issues for users and especially CI builds
2017-08-15 14:41:23 -07:00
Robert Schumacher
68159355be
[vcpkg] Add more logging to findXYZ.ps1
2017-05-06 21:37:04 -07:00
Alexander Karatarakis
bfa5812a6b
Update version of VS SetupAPI nuget package
2017-03-10 14:10:14 -08:00
Alexander Karatarakis
b5dc358d49
Remove unneeded Import-Module directive
2017-02-23 15:50:28 -08:00
Alexander Karatarakis
d36b292ae2
Don't prompt for downloading nuget when finding VS instances
...
This means bootstrap no longer prompts
2017-02-16 19:13:10 -08:00
Robert Schumacher
4cef21b894
[bootstrap] Specify NuGet Source to avoid impact from user config.
2017-02-11 09:51:02 -08:00
Alexander Karatarakis
e1aea256b8
Fix variable name and guard against 0 instances
2017-02-08 02:07:53 -08:00
Alexander Karatarakis
acc669e869
Update SetupAPI version. Explicitly specify version. Use -nocache
2017-02-06 15:55:39 -08:00
Alexander Karatarakis
7207316ed4
Don't download nupkg. nuget.exe auto-downloads it
2017-02-06 15:29:38 -08:00
Ben Harper
504545d2c8
Add a workaround for another BITS code path
...
The fix from last week (ce9927f732
)
worked for downloading most dependencies, but there is still one
BITS transfer code path, which this fix addresses.
2017-02-06 14:48:30 +02:00
Alexander Karatarakis
af0727cbc0
Improve detection of VS installation instances
2017-01-24 17:51:45 -08:00
Alexander Karatarakis
f2ac7a32aa
FetchDependency.ps1 now returns the downloaded exe's path
2017-01-24 12:36:46 -08:00
Alexander Karatarakis
d96f56736e
Fix path to nuget.exe
2017-01-24 12:32:03 -08:00
Alexander Karatarakis
bb639bfa9c
[VS2017] Add powershell script to enumerator VS2017 instances
2017-01-23 12:53:18 -08:00