Update checkout-deps files to install hl2sdk-mock (#2102)

This commit is contained in:
NotnHeavy 2024-01-22 15:30:15 +00:00 committed by GitHub
parent 80ad76a563
commit 0bc9aa46e6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 0 deletions

View File

@ -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)

View File

@ -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`