From b4e53c40e0315a5977c2496eab9cb2448bfd5687 Mon Sep 17 00:00:00 2001 From: wyc <1104749580@qq.com> Date: Mon, 10 Aug 2026 21:05:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E7=89=88=E7=BD=91=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + third_party/init.bash | 13 +++++++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index bc30071..01d9159 100644 --- a/.gitignore +++ b/.gitignore @@ -2955,3 +2955,4 @@ /cmake-build-vs2019_debug/Renderive_Qt.lib /performance/ /cmake-build-vs2019_debug/ +/.playwright-cli/ diff --git a/third_party/init.bash b/third_party/init.bash index 0b218d8..41253a5 100644 --- a/third_party/init.bash +++ b/third_party/init.bash @@ -5,6 +5,8 @@ cd "$root" origin="$(git remote get-url origin)" origin="${origin%/}" remote_root="$(printf '%s\n' "$origin" | sed -E 's#/[^/]+(\.git)?$##')" +remote_root="${remote_root%/*}" +echo "remote_root: $remote_root" get_default_branch() { local repo="$1" local branch @@ -40,8 +42,11 @@ fetch_repo_ex() { local name="$1" local branch="${2-}" local repo="${remote_root}/${name}" - fetch_repo "$repo" "third_party/${name}" "$branch" + local dir="${name##*/}" + fetch_repo "$repo" "third_party/${dir}" "$branch" } -fetch_repo_ex "build_infra" -fetch_repo_ex "CPP_Core" -fetch_repo_ex "Renderive" "restart" +fetch_repo_ex "ae/build_infra" +fetch_repo_ex "ae/CPP_Core" +fetch_repo_ex "psc/Structive" +fetch_repo_ex "psc/Adminive" +fetch_repo_ex "ae/Renderive" "restart"