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"