aboutsummaryrefslogtreecommitdiff
path: root/ports/munit
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 ```
2020-11-18[meson|scripts] update scripts (#12945)Alexander Neumann
* Update meson to a recent commit to fix a bug with 0.56 * rename static libraries built by meson by default on windows * apply cmake variables detection to meson. use native/cross files make arm builds work. * update munit * fix fribidi * fix _FLAGS variables * set env SDKROOT and MACOSX_DEPLOYMENT_TARGET in configure_meson * need osx env while building and configuring * - remove unused env backup functions - rename internal functions to be prefixed with _vcpkg_ - fix VCPKG_CHAINLOAD_TOOLCHAIN_FILE for ios/freebsd * replace _vcpkg with vcpkg since _ has special meaning in functions * rename functions to vcpkg_internal_meson_generate * update control tool-meson
2020-05-19[munit] Add new port (#6780)myd7349
* [munit] Add new port * [munit] Modernize * [muint] Update to 2020-04-06 * [munit] Update CI baseline * [munit] Update CI baseline * [munit] Fail fast * [munit] Download meson on linux and osx * [vcpkg_find_acquire_program] Always download meson if not found * Revert "[munit] Download meson on linux and osx" This reverts commit e7e17730d40e1b8a11a12c2bb28340a72247dce0. Co-authored-by: wangli28 <wangli28@beyondsoft.com>