aboutsummaryrefslogtreecommitdiff
path: root/ports/stlab/CONTROL
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-04-29[stlab] update to 1.6.2 (#17239)dittons
* update stlab to 1.6.2 * update stlab to 1.6.2 (version files) * fix comment in typo * update version Co-authored-by: ian <ian> Co-authored-by: Jonliu1993 <13720414433@163.com>
2020-06-23[stlab] Fix cmake config file (#11787)Phoebe
* [stlab] Fix cmake config file * Update ports/stlab/portfile.cmake Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2020-02-10[many ports] Upgrades to 2020.02.08 (#9986)Robert Schumacher
* [many ports] Upgrades to 2020.02.08 * Undo asio asmjit libimobiledevice mlpack mongo-c-driver oniguruma openmvg openvdb pcl * Update ci baseline file Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
2019-11-21[stlab]Upgrade to 1.5.1 (#8901)JackBoosY
2019-07-31Add PREFER_NINJA to many ports (#7468)Phoebe
* Add PREFER_NINJA to many ports
2019-04-26[stlab] update to v1.4.1 (#6209)kyp
* [stlab] update to v1.4.1 [stlab] update head reference * [stlab] fix osx build
2018-11-19new port: stlab (at v1.3.3)kyp