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
Billy O'Neal
09a647a526
Delete use of vcpkg_test_cmake and vcpkg_common_functions. ( #13065 )
2020-10-28 14:18:07 -07:00
pravic
18b029a5e3
[WIP] Add a Homepage URL entry for vcpkg ports ( #2933 )
...
* [vcpkg] Add "Homepage" field to the CONTROL files.
2019-06-15 16:54:47 -07:00
Robert Schumacher
bb1bb1c94a
Updates 2018.12.14
2019-01-09 12:27:19 -08:00
Robert Schumacher
4d1fd42fca
[vcpkg-toolchains] Use XYZ_INIT CMake variables for _significantly_ better integration
...
[brynet] Add missing openssl dependency
[discord-rpc] Ensure no external downloading
[podofo] Improve stability. Modernize.
[usrsctp] Disable Werror
[vcpkg-toolchains] Add linux changes to android and freebsd.
[usrsctp] Remove excess DLLs
2018-12-04 18:01:23 -08:00
Robert Schumacher
dd444b1910
[discord-rpc] Always use vcpkg's copy of rapidjson
2018-05-30 17:39:23 -07:00
Robert Schumacher
8eac561107
[abseil][aws-sdk-cpp][directxmesh][directxtex][directxtk][discord-rpc][exiv2][folly][jsonnet][libuv][ms-gsl][nuklear][rocksdb][rs-core-lib][thrift][unicorn][zeromq] Upgrades
2018-05-01 15:49:11 -07:00
Robert Schumacher
0c792e4b39
[aws-sdk-cpp][discord-rpc][thrift] Upgrades
2018-04-02 16:43:10 -07:00
Robert Schumacher
608456b325
Upgrades
2018-03-24 09:16:10 -07:00
Michał Janiszewski
a7c93cd73e
[discord-rpc] Update to version 3.0.0 ( #2904 )
...
* [discord-rpc] Update to 3.0.0
* [discord-rpc] Update to 3.0.0
2018-02-28 05:22:32 -08:00
Tobias Kohlbau
3df6043856
[discord-rpc] bump to version 2.1.0
...
Signed-off-by: Tobias Kohlbau <tobias@kohlbau.de>
2018-01-23 16:44:13 +01:00
Ted John
e57d38a812
[discord-rpc] Add v2.0.1
...
- Not properly configured for debug builds and always forced /MT. Fixed by patching cmake.
- Unable to stop building of examples, so delete afterwards.
2017-11-11 19:57:27 +00:00