Skip to content

Commit

Permalink
Update checkout-deps files to install hl2sdk-mock (#2102)
Browse files Browse the repository at this point in the history
  • Loading branch information
CppHorse authored Jan 22, 2024
1 parent 80ad76a commit 0bc9aa4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/checkout-deps.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
6 changes: 6 additions & 0 deletions tools/checkout-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit 0bc9aa4

Please sign in to comment.