Bruce Mitchener
a58271747f
[yoga] Enable for uwp ( #36705 )
2024-02-13 15:33:39 -08:00
Bruce Mitchener
541cee663d
[yoga] Update to 2.0.1 ( #36234 )
2024-01-19 11:57:07 -08:00
Weihang Ding
a19f192c53
[yoga] Bump to 2.0.0 ( #32927 )
...
* [yoga] Bump to 2.0.0
* update version database
2023-08-04 06:53:58 -07:00
xiaozhuai, Weihang Ding
43aabb4f9b
[yoga] Bump to 1.19.0+20230215 ( #29666 )
...
* [yoga] Bump to 1.19.0+20230215
* update version database
2023-02-16 10:36:56 -08:00
Cheney Wang
517adc7517
[yoga] Add unofficial-yoga-config.cmake ( #25417 )
...
* [yoga] Add unofficial-yoga-config.cmake
* x-add-version
Co-authored-by: Cheney-Wang <v-xincwa@microsoft.com>
2022-07-05 15:52:53 -07:00
chausner
7d7653bcd2
[yoga] Update to 1.19.0 ( #20330 )
...
* Update yoga to 1.19.0
* Update CI baseline
* Change version-string to version-semver
Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
* Update git-tree hash
* Update yoga.json
* Use version instead of version-semver as yoga doesn't document that they follow semver.
Co-authored-by: chausner <chausner@users.noreply.github.com>
Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-09-28 11:48:38 -07:00
Billy O'Neal
b295670e4b
Bulk convert control files. ( #19986 )
...
```
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-09-09 01:24:04 -07:00
nicole mazzuca
68a74950d0
[vcpkg] Rename port_versions
to versions
( #15784 )
2021-01-21 09:53:22 -08:00