forked from PlayFab/PlayFabCoreCSdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
set-gitmodules.bat
28 lines (23 loc) · 952 Bytes
/
set-gitmodules.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
@echo off
echo ========= Setting Git Submodules to specific commits (BEGIN) =========
if exist ".git" (
git submodule update --init --recursive
) else (
git init
git submodule add https://github.com/Tencent/rapidjson.git ./external/rapidjson
git submodule add https://github.com/microsoft/libHttpClient.git ./external/libHttpClient
git submodule add https://github.com/microsoft/DirectXTK12 ./external/DirectXTK12
)
pushd "external/rapidjson"
git checkout f54b0e47a08782a6131cc3d60f94d038fa6e0a51
git reset --hard f54b0e47a08782a6131cc3d60f94d038fa6e0a51
popd
pushd "external/libHttpClient"
git checkout cd6651fdf57c7bfa28dd75bba83894fa2fb43a0f
git reset --hard cd6651fdf57c7bfa28dd75bba83894fa2fb43a0f
popd
pushd "external/DirectXTK12"
git checkout 99e1d88e49dcdb07bdc2c4122a6b60784f927033
git reset --hard 99e1d88e49dcdb07bdc2c4122a6b60784f927033
popd
echo ========= Setting Git Submodules to specific commits (END) =========