76 Commits

Author SHA1 Message Date
Alexander Karatarakis
a8a20f1a13 VcpkgInvokeCommand: remove paramter $wait 2018-01-25 14:46:00 -08:00
Alexander Karatarakis
e5b0de35d3 [vswhere] Update to 2.3.2 2018-01-23 15:08:52 -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
3332326c65 Update CMake to 3.10.2 2018-01-23 14:16:05 -08:00
Alexander Karatarakis
2890ffa31c Don't print "downloading..." if file is already downloaded 2018-01-23 14:16:05 -08:00
Alexander Karatarakis
c7296cf1f2 [FetchDependency] Print out text when downloading/extracting 2018-01-17 17:34:41 -08:00
Albert Ziegenhagel
be5e529bb3 Update cmake to 3.10.1 2018-01-03 10:57:46 +01:00
Alexander Karatarakis
1f3013bea3 Improve vcpkgExtractFile. Also merge vcpkgRemoveDirectory/File 2017-12-08 15:16:35 -08:00
Alexander Karatarakis
2c914ff05a Rework vcpkgExtractFile (powershell) 2017-11-27 00:42:39 -08:00
Mikhail Paulyshka
e009618ba0 [cmake] update to 3.10.0 (#2236) 2017-11-26 03:18:35 -08:00
Alexander Karatarakis
92872439b9 [fetchDependency[ Make parameter mandatory 2017-11-26 01:32:09 -08:00
Alexander Karatarakis
6290155eaa [vcpkgExtractFile] Fix partial dir name. Special case 1-item zips
- If the zip contains a single item, pull that up a directory
- If the zip contains multiple items, place that in a directory on of the same name as the zip
2017-11-17 01:23:14 -08:00
Alexander Karatarakis
b2e1dc3e5a Use temp-and-rename pattern for extracting 2017-11-16 02:02:00 -08:00
Alexander Karatarakis
2abdcc1eec Introduce VcpkgPowershellUtils 2017-11-15 22:37:24 -08:00
Alexander Karatarakis
eabacf0d14 Make parameter mandatory 2017-11-09 20:09:22 -08:00
Alexander Karatarakis
138bce34f2 Fix SHA-256 name 2017-11-09 20:09:22 -08:00
Alexander Karatarakis
4bd9ad6969 [Get-(File)Hash] Use namespaces and add Pscx check 2017-11-05 18:10:48 -08:00
Alexander Karatarakis
524adf93aa [Expand-Archive] Use namespaces to distringuish Powershell 5's and PSCX's 2017-11-05 17:58:47 -08:00
Alexander Karatarakis
3b90bc07ce [cmake] Update to 3.9.5 (was 3.9.4) 2017-11-03 18:25:54 -07:00
Alexander Karatarakis
ad884fc296 [vswhere] Update to 2.2.11 (was 2.2.7) 2017-11-03 16:40:28 -07:00
Alexander Karatarakis
a4dc2d2ef2 [fetchDependency.ps1] Improve error message on hash mismatch 2017-11-03 16:39:43 -07:00
Alexander Karatarakis
9dc02f48b6 [fetchDependendy.ps1] Remove obsolete comment 2017-11-03 16:35:15 -07:00
Alexander Karatarakis
82ce87cfd0 Use download-at-temp-and-rename pattern in powershell too 2017-11-03 16:14:13 -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
47bf4b6b5c [fetchDependency] Now also returns output in the form <sol>data<eol> 2017-10-31 17:31:10 -07:00
Alexander Karatarakis
eb7e1e481b Fix proxy usage in Win7 (powershell 2.0) 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
Alexander Karatarakis
83c29df043 [fetchDependency] Fix compat with Powershell 2 2017-10-27 15:16:46 -07:00
Alexander Karatarakis
e9ba8b0ecb [nuget] Update to 4.4.0 (was 4.3.0) 2017-10-17 14:19:48 -07:00
Alexander Karatarakis
508c21a6f8 [vswhere] Update to 2.2.7 (was 2.2.3) 2017-10-17 14:08:30 -07:00
Alexander Karatarakis
fa4e54a373 [git] Update to 2.14.2.3 (was 2.14.1) 2017-10-17 14:05:55 -07:00
Alexander Karatarakis
ffd91c0c1d [fetchDependency] Call Get-FileHash if available, otherwise fallback 2017-10-17 13:58:36 -07:00
Alexander Karatarakis
d6d5540cc5 [fetchDependency] Call Start-BitsTransfer if available, otherwise fallback 2017-10-17 13:54:41 -07:00
Alexander Karatarakis
451c1c96be [fetchDependency] Use Test-Module for BitsTransfer module check 2017-10-17 13:42:58 -07:00
Alexander Karatarakis
7fac8a06c0 [fetchDependency] Add Test-Module function 2017-10-17 13:40:01 -07:00
Alexander Karatarakis
147cde8bfd [fetchDependency] Use Expand-Archive if it exists, otherwise fallback to cmd 2017-10-17 13:23:22 -07:00
Alexander Karatarakis
edb718e21b [fetchDependency] Introduce Test-Command function 2017-10-17 13:22:17 -07:00
Alexander Karatarakis
87296823ac [cmake] Update to 3.9.4 (was 3.9.3) 2017-10-17 12:43:08 -07:00
Robert Schumacher
94ec090235 Merge pull request #1920 from frederich/Bug_1130
Get proxy credentials behind web proxy
2017-10-12 10:54:20 -07:00
Robert Schumacher
9ddc98988f [vcpkg-scripts] Detect and prompt for proxy in more cases 2017-10-12 10:52:00 -07:00
Alexander Karatarakis
b6512bace1 [vswhere.exe] Update to vesrion 2.2.3 (was 2.1.4) 2017-10-09 16:42:40 -07:00
Alexander Karatarakis
cd4142d3ca Bump version of nuget to 4.3.0 (was 4.1.0) 2017-10-06 14:06:02 -07:00
Alexander Karatarakis
eca5a8b8d4 Add vswhere in fetchDependency.ps1 2017-10-05 18:27:07 -07:00
Konstantin Podsvirov
c6149fae2f [vcpkg-export-ifw] Usage QtIFW tools
Download and use tools to make repository and installer
2017-09-28 00:21:26 +03:00
Alexander Karatarakis
548b7f6919 Bump required version of CMake to 3.9.3
3.9.3 contains this interesting change:
FindBoost: Add support for Boost 1.65.0 and 1.65.1 to CMake 3.9
2017-09-22 14:21:37 -07:00
Alexander Karatarakis
39a96fc2f4 Bump required version of CMake to 3.9.2 2017-09-19 12:54:48 -07:00
Alexander Karatarakis
bd7cd7f56d Add explanation for not printing in fetchDependency.ps1 2017-08-16 13:11:50 -07:00
Alexander Karatarakis
400010c667 fetchDependency.ps1: Don't print the Downloading message... 2017-08-15 19:29:03 -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
Alexander Karatarakis
8a0a99b62a Update required/downloaded git to 2.14.1 2017-08-11 15:40:06 -07:00
atkawa7
8b09cb2efe update make to 3.9.1 2017-08-11 09:02:36 -07:00
Alexander Karatarakis
cebc7acf02 Updated version of nuget to 4.1.0 2017-08-07 12:26:30 -07:00
Mikhail Paulyshka
5d86005aa7 cmake: update to 3.9 2017-07-25 04:07:08 +03:00
Robert Schumacher
2b944c21e8 [vcpkg] Fix regression on Windows 7/8 introduced with Powershell Core support 2017-05-24 03:33:20 -07:00
Alexander Karatarakis
5ba2f0d81c scripts/fetchDependency.ps1: Retain previous code for hashing to support Win7 2017-05-23 11:53:20 -07:00
Mikhail Paulyshka
932f0f0657 scripts/fetchDependency.ps1: fix vcpkg boostrapping with Powershell Core 2017-05-22 23:57:37 +03:00
Robert Schumacher
68159355be [vcpkg] Add more logging to findXYZ.ps1 2017-05-06 21:37:04 -07:00
Alexander Karatarakis
5fbc9c4563 Update cmake version to 3.8.0 (was 3.8.0rc1) 2017-04-21 18:41:01 -07:00
Robert Schumacher
32827f98c0 [vcpkg] Fix bug when downloading Git. 2017-03-24 21:53:19 -07:00
Robert Schumacher
a2a558bd03 [vcpkg] Fix regression in 7b14894d. Fixes #772. 2017-03-11 19:08:16 -08:00
Robert Schumacher
61254273ba Merge pull request #701 from MKlimenko/master
Add proxy credential support
2017-02-28 06:09:03 -08:00
Alexander Karatarakis
6367924964 Disable Verbose-level messages for imported module 2017-02-23 15:50:52 -08:00
Mikhail Klimenko
42ac9bbe1e Add proxy credential support 2017-02-22 14:51:05 +03:00
Alexander Karatarakis
7b4cae57be fetchDependency.ps1: add option to override prompting for download 2017-02-16 18:48:14 -08:00
Alexander Karatarakis
66cc4eed68 CMake: Bump version to 3.8.0 to resolve VS2017 UWP build issues 2017-02-16 18:02:16 -08:00
Alexander Karatarakis
03b6548653 Use MinGit instead of PortableGit. Resolves #662 2017-02-15 16:35:51 -08:00
Alexander Karatarakis
ce9927f732 Improve error handling if BITS transfer fails 2017-02-02 16:00:30 -08:00
Alexander Karatarakis
f2ac7a32aa FetchDependency.ps1 now returns the downloaded exe's path 2017-01-24 12:36:46 -08:00
Alexander Karatarakis
d5e7a501e9 Download nuget.exe in a version-including subfolder in Downloads\ 2017-01-24 12:30:14 -08:00
Alexander Karatarakis
ccda20a858 Remove $downloadName variable 2017-01-24 12:01:11 -08:00
Alexander Karatarakis
7c9db95fec Bump downloaded git version 2017-01-23 18:47:38 -08:00
Alexander Karatarakis
868a7623ad Bump nuget.exe version 2017-01-23 18:47:11 -08:00
Alexander Karatarakis
522b393901 Bump version of required CMake to 3.7.2 2017-01-23 17:02:43 -08:00
Alexander Karatarakis
f78c64e3a9 Remove unused function 2016-09-19 19:01:04 -07: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
ccca198c1b Initial commit 2016-09-18 20:54:03 -07:00