Automatically apply patch when compiling SDL3.

This commit is contained in:
2024-10-13 13:36:01 +02:00
parent 2b05834798
commit f2dc9872f7
4 changed files with 26 additions and 13 deletions

View File

@@ -35,7 +35,9 @@ def _git_branch(env: Environment, repo_name: str, remote_url: str, git_ref: str
else:
print(f'Not updating git repository {worktree_dir} as it is not on a branch.')
return {
'checkout_root': worktree_dir
'checkout_root': worktree_dir,
'repo': repo,
'origin': origin
}
def _git_tags(env: Environment, repo_name: str, remote_url: str, force_fetch: bool = False) -> 'list[str]':