mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-24 13:35:12 +00:00
Meta: Read vcpkg baseline revision from vcpkg.json
Just so we only have to update one location when we update the baseline.
This commit is contained in:
parent
2c13504bfc
commit
16c535a6d2
Notes:
github-actions[bot]
2025-04-22 23:31:01 +00:00
Author: https://github.com/trflynn89 Commit: https://github.com/LadybirdBrowser/ladybird/commit/16c535a6d22 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4433
1 changed files with 6 additions and 2 deletions
|
@ -1,16 +1,20 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
import json
|
||||
import os
|
||||
import subprocess
|
||||
import pathlib
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
|
||||
def main() -> int:
|
||||
script_dir = pathlib.Path(__file__).parent.resolve()
|
||||
|
||||
with open(script_dir.parent / "vcpkg.json", "r") as vcpkg_json_file:
|
||||
vcpkg_json = json.load(vcpkg_json_file)
|
||||
|
||||
git_repo = "https://github.com/microsoft/vcpkg.git"
|
||||
git_rev = "d6995a0cf3cafda5e9e52749fad075dd62bfd90c" # main on 2025-05-22
|
||||
git_rev = vcpkg_json["builtin-baseline"]
|
||||
|
||||
build_dir = script_dir.parent / "Build"
|
||||
build_dir.mkdir(parents=True, exist_ok=True)
|
||||
|
|
Loading…
Add table
Reference in a new issue