aboutsummaryrefslogtreecommitdiff
path: root/ports/wil
AgeCommit message (Collapse)Author
2021-09-09Bulk convert control files. (#19986)Billy O'Neal
``` function Convert-Control { Param($full) .\vcpkg.exe format-manifest $full $root = $full.Substring(0, $full.Length - 7) # CONTROL $new = $root + 'vcpkg.json' $content = Get-Content -Raw $new $asJson = ConvertFrom-Json $content -AsHashtable -Depth 100 $oldVersion = $asJson['port-version'] if ($null -eq $oldVersion) { $oldVersionFull = $asJson['version-string'] Write-Host "Got version $oldVersionFull" $match = [System.Text.RegularExpressions.Regex]::Match($oldVersionFull, '^(.+)-(\d+)$') if ($match.Success -and -not [System.Text.RegularExpressions.Regex]::IsMatch($oldVersionFull, '^\d\d\d\d-\d\d-\d\d$')) { $newFullVersion = [string]$match.Groups[1].Value $oldVersion = [int]$match.Groups[2].Value Write-Host "newFullVersion $newFullVersion oldVersion $oldVersion" $newVersion = $oldVersion + 1 $asJson['version-string'] = $newFullVersion Write-Host "Previous version for $full extracted from version field -- setting version-string $newFullVersion and port-version $newVersion" } else { Write-Host "No previous version for $full -- setting 1" $newVersion = 1 } } else { $newVersion = [int]$oldVersion + 1 Write-Host "New version for $full : $newVersion" } $asJson['port-version'] = $newVersion $content = ConvertTo-Json $asJson -Depth 100 Set-Content -Path $new -Value $content .\vcpkg.exe format-manifest $new } Get-ChildItem ports\CONTROL -Recurse | Foreach-Object { Convert-Control $_.FullName } git commit -am "this message" .\vcpkg.exe x-add-version -all git commit -a --amend ```
2021-08-05[wil] Update wil to the latest commit (#19343)Duncan Horn
* Update WIL port * Running new command I previously didn't know about
2021-03-10[wil] Updating WIL version to match its nuget package version (#16575)anaaru
* [wil] Updating WIL version to match its nuget package version * Removing port version from CONTROL file * Revert "Removing port version from CONTROL file" Reverting because PR tests are failing. This reverts commit 28ffcba04b3d053e9a01d965fab951eafa64449b. * Updating baseline.json and w-/wil.json * update version * modify portfile.cmake * update version Co-authored-by: Anand Arumugam <anand.arumug@gmail.com> Co-authored-by: Anand Arumugam <anaaru@microsoft.com> Co-authored-by: Jonliu1993 <13720414433@163.com>
2021-01-05[wil] Use internal CMakeLists (#15438)Jack·Boos·Yu
* [wil] Use internal CMakeLists * [wil] Fix install headers on Linux
2020-10-28Delete use of vcpkg_test_cmake and vcpkg_common_functions. (#13065)Billy O'Neal
2020-05-22[wil] Update to 2020-05-19 (#11506)Duncan Horn
* Update commit for WIL * Update wil port to match the commit used for NuGet package 1.0.190716.2 * Update WIL port * Update WIL port
2019-11-19Update WIL port (#8948)Duncan Horn
* Update commit for WIL * Update wil port to match the commit used for NuGet package 1.0.190716.2 * Update WIL port
2019-07-17 [wil] match commit used for NuGet package 1.0.190716.2 (#7285)Duncan Horn
2019-07-09[wil] Update (#7215)Robert Schumacher
2019-06-10Update commit for WIL (#6847)Duncan Horn
2019-05-08[wil] new port (#6353)Charles Milette
* [wil] new port