Introduced recipe repositories.

This commit is contained in:
2025-03-13 22:58:49 +01:00
parent d03b7097f7
commit 9e5fc05f4f
52 changed files with 21 additions and 1712 deletions

View File

@@ -0,0 +1,11 @@
import os
Import('env')
def _recipe_repository(env, repo_name: str, remote_url: str, git_ref: str = 'master') -> None:
repo = env.GitBranch(repo_name = repo_name, remote_url = remote_url, git_ref = git_ref)
env.Append(SPP_RECIPES_FOLDERS = [os.path.join(repo['checkout_root'], 'recipes')])
env.AddMethod(_recipe_repository, 'RecipeRepo')
Return('env')