Commit Graph

9 Commits

Author SHA1 Message Date
autoantwort
712089644a
[cpprestsdk] fix uwp (#33768)
* [cpprestsdk] fix uwp

* test
2023-09-18 09:58:32 -07:00
autoantwort
6da00e1160
[cpprestsdk] use platform expressions in default-features (#32998)
* [cpprestsdk] use platform expressions in default-features

* [microsoft-signalr] use platform expressions in default-features

* [signalrclient] fix dependencies
2023-08-07 13:18:46 -07:00
Lily Wang
9f358ceb5c
[microsoft-signalr] Fix find jsoncpp (#31384)
* [microsoft-signalr] Fix find jsoncpp

* update version

* apply suggestion

* update version

* fix quoting

* version

---------

Co-authored-by: Javier Matos Denizac <javier.matosd@gmail.com>
2023-05-11 11:37:33 -07:00
Cheney Wang
c8b9f10f39
[microsoft-signalr] Fix usage issue (#31286) 2023-05-08 17:47:02 -07:00
Cheney Wang
93fc361b39
[microsoft-signalr] Fix msgpackConfig.cmake is not found (#31085)
* [microsoft-signalr] Fix msgpackConfig.cmake not find

* Format
2023-04-25 22:46:39 -07:00
autoantwort
ba91cb86ae
[microsoft-signalr] fix missing dependency (#31004) 2023-04-21 15:03:32 -07:00
Jack·Boos·Yu
8ead9c2674
[many ports]switch to vcpkg-cmake / vckg-cmake-config part 3 (#29883)
* [many ports]switch to vcpkg-cmake / vckg-cmake-config part 3

* version

* typo

* version

* typo

* version

* Fix params

* version

* deprecated vcpkg_extract_source_archive_ex

* version

* fix arguments

* version

* Rename argument

* version

* Deprecate vcpkg_extract_source_archive_ex

* version

---------

Co-authored-by: jyu49 <yu_jack@apple.com>
2023-03-07 14:14:52 -08:00
Brennan
9c4f2235d0
[microsoft-signalr] Update Port (#27510)
* [microsoft-signalr] Update Port

* add version

* odd
2022-10-27 19:24:44 -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