add setup script
This commit is contained in:
		
							
								
								
									
										2
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,2 @@ | |||||||
|  | [0-9]*.[0-9]* | ||||||
|  | *~ | ||||||
							
								
								
									
										9
									
								
								.gitmodules
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								.gitmodules
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | |||||||
|  | [submodule "symbols"] | ||||||
|  | 	path = symbols | ||||||
|  | 	url = https://gitlab.com/kicad/libraries/kicad-symbols | ||||||
|  | [submodule "footprints"] | ||||||
|  | 	path = footprints | ||||||
|  | 	url = https://gitlab.com/kicad/libraries/kicad-footprints | ||||||
|  | [submodule "3dmodels"] | ||||||
|  | 	path = 3dmodels | ||||||
|  | 	url = https://gitlab.com/kicad/libraries/kicad-packages3d | ||||||
							
								
								
									
										1
									
								
								3dmodels
									
									
									
									
									
										Submodule
									
								
							
							
								
								
								
								
								
							
						
						
									
										1
									
								
								3dmodels
									
									
									
									
									
										Submodule
									
								
							 Submodule 3dmodels added at 273b48522c
									
								
							
							
								
								
									
										7
									
								
								README.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								README.md
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | |||||||
|  | kicad-git-libs | ||||||
|  | ============== | ||||||
|  |  | ||||||
|  | A convenience repo to pull the stock KiCad libs from GitLab instead of using | ||||||
|  | the ones that ship with releases.  To use, use setup.sh to check it out somewhere | ||||||
|  | (~/.local/share/kicad, perhaps?) and configure the paths (Preferences ->  | ||||||
|  | Configure Paths) in KiCad to use it. | ||||||
							
								
								
									
										1
									
								
								footprints
									
									
									
									
									
										Submodule
									
								
							
							
								
								
								
								
								
							
						
						
									
										1
									
								
								footprints
									
									
									
									
									
										Submodule
									
								
							 Submodule footprints added at 50df46ece7
									
								
							
							
								
								
									
										9
									
								
								setup.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										9
									
								
								setup.sh
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,9 @@ | |||||||
|  | #!/usr/bin/env bash | ||||||
|  | git init . | ||||||
|  | git remote add origin https://gitlab.alfter.us/kicad-git-libs | ||||||
|  | git pull | ||||||
|  | git checkout master -f | ||||||
|  | git branch --set-upstream-to origin/master | ||||||
|  | git submodule init | ||||||
|  | git submodule update | ||||||
|  | git submodule foreach git checkout master | ||||||
							
								
								
									
										1
									
								
								symbols
									
									
									
									
									
										Submodule
									
								
							
							
								
								
								
								
								
							
						
						
									
										1
									
								
								symbols
									
									
									
									
									
										Submodule
									
								
							 Submodule symbols added at 5ec4fed9f9
									
								
							
		Reference in New Issue
	
	Block a user