74 Commits

Author SHA1 Message Date
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