From d1262962837c44280a8bf7b3b63f3e43f299dafb Mon Sep 17 00:00:00 2001 From: Patrick Wuttke Date: Sat, 6 Apr 2024 14:20:44 +0200 Subject: [PATCH] Added recipe for iwa. --- recipes/iwa/recipe.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 recipes/iwa/recipe.py diff --git a/recipes/iwa/recipe.py b/recipes/iwa/recipe.py new file mode 100644 index 0000000..c5c28fb --- /dev/null +++ b/recipes/iwa/recipe.py @@ -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 = 'iwa', remote_url = 'https://git.mewin.de/mewin/iwa.git', git_ref = git_ref) + checkout_root = repo['checkout_root'] + return SConscript(os.path.join(checkout_root, 'LibConf'), exports = ['env'])