Added recipe for json and updated yaml-cpp recipe.

This commit is contained in:
2024-10-25 08:29:25 +02:00
parent 071cd207a9
commit 651c8770c3
2 changed files with 23 additions and 1 deletions

View File

@@ -19,7 +19,7 @@ def _git_cook(env: Environment, repo: dict) -> dict:
env.GitRecipe(
globals = globals(),
repo_name = 'yaml-cpp',
repo_url = 'https://github.com/jbeder/yaml-cpp',
repo_url = 'https://github.com/jbeder/yaml-cpp.git',
tag_pattern = re.compile(r'^yaml-cpp-([0-9]+)\.([0-9]+)\.([0-9]+)$'),
tag_fn = lambda version: f'yaml-cpp-{version[0]}.{version[1]}.{version[2]}',
cook_fn = _git_cook