diff --git a/.gitmodules b/.gitmodules index 6f752c3..fd4e1de 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,4 @@ [submodule "dependencies/Connected"] path = dependencies/Connected url = https://git.tompit.com/Connected/Connected.git + branch = develop diff --git a/build/init.bat b/build/init.bat new file mode 100644 index 0000000..560febd --- /dev/null +++ b/build/init.bat @@ -0,0 +1,22 @@ +@echo off + +SET root=%cd% + +echo "Syncing submodules" +git submodule sync +git submodule update --init --remote +echo "Submodules up to date" + +FOR /F "delims=" %%a IN ('DIR "../dependencies" /A:d /B') DO ( + echo Handling %%a + cd "../dependencies/%%a/build" + echo %cd% + IF EXIST init.bat ( + echo "found init.bat" + call init + ) + cd %root% +) + +cd ../ +dotnet build \ No newline at end of file diff --git a/dependencies/Connected b/dependencies/Connected index cc259df..dd40532 160000 --- a/dependencies/Connected +++ b/dependencies/Connected @@ -1 +1 @@ -Subproject commit cc259dfc18c4ad6989898fa813e281b9249c3bd3 +Subproject commit dd40532a0ff03237407de9635c7211c5e1af5807