Add recipe support.

This commit is contained in:
2023-06-25 12:44:11 +02:00
parent feb87f3cf2
commit 0071b4942e
10 changed files with 253 additions and 10 deletions

8
recipes/mijin/recipe.py Normal file
View File

@@ -0,0 +1,8 @@
import os
from SCons.Script import *
def cook(env: Environment, git_ref: str = "master") -> dict:
repo = env.Cook('GitBranch', repo_name = 'mijin', remote_url = 'ssh://git@git.mewin.de:10022/mewin/mijin2.git', git_ref = git_ref)
checkout_root = repo['checkout_root']
return SConscript(os.path.join(checkout_root, 'LibConf'), exports = ['env'])