diff --git a/.gitmodules b/.gitmodules index dc5421e..82e1bfa 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,9 +1,12 @@ [submodule "dependencies/Connected.Framework"] path = dependencies/Connected.Framework url = https://git.tompit.com/Connected/Connected.Framework.git + branch = develop [submodule "dependencies/Connected.Framework.ServiceModel"] path = dependencies/Connected.Framework.ServiceModel url = https://git.tompit.com/Connected/Connected.Framework.ServiceModel.git + branch = develop [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..017ad52 --- /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 9eb9949..d2cd600 160000 --- a/dependencies/Connected +++ b/dependencies/Connected @@ -1 +1 @@ -Subproject commit 9eb9949950a4b99f31e8800eb41e1b97ec00f8be +Subproject commit d2cd600145d5679412b6af289565f17d8ef0eb89 diff --git a/dependencies/Connected.Framework b/dependencies/Connected.Framework index 79ea6dc..f80b6bf 160000 --- a/dependencies/Connected.Framework +++ b/dependencies/Connected.Framework @@ -1 +1 @@ -Subproject commit 79ea6dc46dbacd608bbde582a0c560d2cc8e2154 +Subproject commit f80b6bfac9c1ae1e9009949e1ec322b3ce973d08 diff --git a/dependencies/Connected.Framework.ServiceModel b/dependencies/Connected.Framework.ServiceModel index 0643077..a776316 160000 --- a/dependencies/Connected.Framework.ServiceModel +++ b/dependencies/Connected.Framework.ServiceModel @@ -1 +1 @@ -Subproject commit 0643077200dbdcd45d40079980a52dc22d1b51e1 +Subproject commit a77631658dbe4588f6ec8de548e025445b48f879