From 0bc9aa46e63e03b7e7944a68fec2136682d4f00a Mon Sep 17 00:00:00 2001 From: NotnHeavy <94223272+NotnHeavy@users.noreply.github.com> Date: Mon, 22 Jan 2024 15:30:15 +0000 Subject: [PATCH] Update checkout-deps files to install hl2sdk-mock (#2102) --- tools/checkout-deps.ps1 | 2 ++ tools/checkout-deps.sh | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/tools/checkout-deps.ps1 b/tools/checkout-deps.ps1 index 9e608ab7..f2d720aa 100644 --- a/tools/checkout-deps.ps1 +++ b/tools/checkout-deps.ps1 @@ -92,6 +92,8 @@ $SDKS | ForEach-Object { Get-Repository -Name "hl2sdk-$_" -Branch $_ -Repo "hl2sdk-proxy-repo" "https://github.com/alliedmodders/hl2sdk.git" } +Get-Repository -Name "hl2sdk-mock" -Branch "master" -Repo "https://github.com/alliedmodders/hl2sdk-mock.git" + # Find a suitable installation of Python $PYTHON_CMD = Get-Command 'python3' -ErrorAction SilentlyContinue if ($NULL -eq $PYTHON_CMD) diff --git a/tools/checkout-deps.sh b/tools/checkout-deps.sh index 42c30996..059bd177 100755 --- a/tools/checkout-deps.sh +++ b/tools/checkout-deps.sh @@ -153,6 +153,12 @@ do checkout done +name=hl2sdk-mock +branch=master +repo="https://github.com/alliedmodders/hl2sdk-mock" +origin= +checkout + python_cmd=`command -v python3` if [ -z "$python_cmd" ]; then python_cmd=`command -v python`