Merge pull request 'Update submodule branches' (#3) from features/submoduleBranches into develop
Reviewed-on: #3
This commit is contained in:
		
						commit
						7ba083b9ab
					
				
							
								
								
									
										2
									
								
								.gitmodules
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.gitmodules
									
									
									
									
										vendored
									
									
								
							@ -1,6 +1,8 @@
 | 
				
			|||||||
[submodule "dependencies/Connected"]
 | 
					[submodule "dependencies/Connected"]
 | 
				
			||||||
	path = dependencies/Connected
 | 
						path = dependencies/Connected
 | 
				
			||||||
	url = https://git.tompit.com/Connected/Connected.git
 | 
						url = https://git.tompit.com/Connected/Connected.git
 | 
				
			||||||
 | 
						branch = develop
 | 
				
			||||||
[submodule "dependencies/Connected.Framework"]
 | 
					[submodule "dependencies/Connected.Framework"]
 | 
				
			||||||
	path = dependencies/Connected.Framework
 | 
						path = dependencies/Connected.Framework
 | 
				
			||||||
	url = https://git.tompit.com/Connected/Connected.Framework.git
 | 
						url = https://git.tompit.com/Connected/Connected.Framework.git
 | 
				
			||||||
 | 
						branch = develop
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										22
									
								
								build/init.bat
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								build/init.bat
									
									
									
									
									
										Normal file
									
								
							@ -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
 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user