mirror of
https://github.com/izzy2lost/xenia-edge.git
synced 2026-07-06 00:20:26 -07:00
[Build] Make sure to pull latest from patches and optimized settings
This commit is contained in:
Vendored
+1
-1
Submodule third_party/game-patches updated: 24f97cae2a...3b4d4085a3
Vendored
+1
-1
Submodule third_party/optimized-settings updated: 18cb3bb913...38b6d6d04a
@@ -568,6 +568,7 @@ def get_pr_number():
|
||||
def git_submodule_update():
|
||||
"""Runs a git submodule init and update.
|
||||
"""
|
||||
# First, update all submodules to their recorded commits
|
||||
shell_call([
|
||||
"git",
|
||||
"-c",
|
||||
@@ -579,6 +580,18 @@ def git_submodule_update():
|
||||
"-j", f"{os.cpu_count()}",
|
||||
])
|
||||
|
||||
# Then update only submodules that track branches to their latest
|
||||
# Currently: optimized-settings and game-patches track 'main'
|
||||
for submodule in ["third_party/optimized-settings", "third_party/game-patches"]:
|
||||
shell_call([
|
||||
"git",
|
||||
"submodule",
|
||||
"update",
|
||||
"--remote",
|
||||
"--depth=1",
|
||||
submodule
|
||||
])
|
||||
|
||||
|
||||
def get_cc(cc=None):
|
||||
if sys.platform == "linux":
|
||||
|
||||
Reference in New Issue
Block a user