Alexander Karatarakis
0df743d625
[bootstrap] Build vcpkg in a clean environment
2018-01-23 14:16:06 -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
ae582e0d4f
[bootstrap] Extract arguments in variable
2018-01-23 14:16:05 -08:00
Alexander Karatarakis
fdf7c65aa4
Exit early if no VS is found
2017-11-30 16:43:59 -08:00
Alexander Karatarakis
cd41cfe468
Use Push-Location/Pop-Location instead of pushd/popd
2017-11-09 21:42:36 -08:00
Alexander Karatarakis
7eb0095094
Rename $explicitlyRequestedVSPath to $withVSPath
2017-11-09 21:41:16 -08:00
Alexander Karatarakis
615f7e112f
[bootstrap.ps1] Add option to specify VS path
2017-11-09 20:09:22 -08:00
Robert Schumacher
516c42bdc4
[bootstrap-vcpkg] Added better diagnostics in case of MSBuild failure.
2017-10-31 23:41:24 -07:00
Alexander Karatarakis
a5b54588ec
[git] Update to 2.15.0 (was 2.14.3)
2017-10-31 17:31:10 -07:00
Alexander Karatarakis
0796a9df0e
[git] Update to 2.14.3 (was 2.14.2.3)
2017-10-27 19:03:26 -07:00
Robert Schumacher
b21bc7c11a
[vcpkg] Don't use -ListImported in bootstrap. Fixes #1711
2017-08-28 17:33:03 -07:00
Robert Schumacher
7a2a237e13
[vcpkg] Don't leak changes to the path in bootstrap
2017-08-25 23:25:41 -07:00
Robert Schumacher
3f88832110
[vcpkg] Add commit date to vcpkg version
2017-08-25 23:20:57 -07:00
Alexander Karatarakis
38233af9a2
Look for 'git' instead of 'git.exe'. Resolves #820
2017-03-20 16:58:08 -07:00
Alexander Karatarakis
a2cebceafe
Rename findTargetPlatformVersion to getWindowsSDK
2017-02-21 17:45:08 -08:00
Alexander Karatarakis
b6b69025c3
bootstrap.ps1 now detects the available Windows SDKs
2017-02-08 22:29:29 -08:00
Robert Schumacher
d04e78815a
[vcpkg] Do not build tests when running scripts\bootstrap.ps1.
2017-01-25 15:05:51 -08:00
Alexander Karatarakis
58aeb68442
[VS2017] Enable building vcpkg itself with VS2017
2017-01-23 12:54:33 -08:00
Alexander Karatarakis
a65f4c3c0b
[bootstrap] Use "unknownhash" if git is not available. Resolves #305
2016-11-21 18:10:21 -08:00
Alexander Karatarakis
b9a0cee78d
Powershell scripts now detect the root dir via the .vcpkg-root file
2016-09-19 18:52:17 -07:00
Alexander Karatarakis
edb8b44b13
[bootstrap.ps1] Use older-powershell-friendly way to determine path
2016-09-19 13:59:32 -07:00
Alexander Karatarakis
ccca198c1b
Initial commit
2016-09-18 20:54:03 -07:00