Update checkout-deps files to install hl2sdk-mock (#2102)
This commit is contained in:
parent
80ad76a563
commit
0bc9aa46e6
2
tools/checkout-deps.ps1
vendored
2
tools/checkout-deps.ps1
vendored
@ -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-$_" -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
|
# Find a suitable installation of Python
|
||||||
$PYTHON_CMD = Get-Command 'python3' -ErrorAction SilentlyContinue
|
$PYTHON_CMD = Get-Command 'python3' -ErrorAction SilentlyContinue
|
||||||
if ($NULL -eq $PYTHON_CMD)
|
if ($NULL -eq $PYTHON_CMD)
|
||||||
|
6
tools/checkout-deps.sh
vendored
6
tools/checkout-deps.sh
vendored
@ -153,6 +153,12 @@ do
|
|||||||
checkout
|
checkout
|
||||||
done
|
done
|
||||||
|
|
||||||
|
name=hl2sdk-mock
|
||||||
|
branch=master
|
||||||
|
repo="https://github.com/alliedmodders/hl2sdk-mock"
|
||||||
|
origin=
|
||||||
|
checkout
|
||||||
|
|
||||||
python_cmd=`command -v python3`
|
python_cmd=`command -v python3`
|
||||||
if [ -z "$python_cmd" ]; then
|
if [ -z "$python_cmd" ]; then
|
||||||
python_cmd=`command -v python`
|
python_cmd=`command -v python`
|
||||||
|
Loading…
Reference in New Issue
Block a user