add setup script

This commit is contained in:
2025-05-24 17:17:52 -07:00
commit c3551fae65
8 changed files with 32 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
[0-9]*.[0-9]*
*~

9
.gitmodules vendored Normal file
View 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

Submodule 3dmodels added at 273b48522c

7
README.md Normal file
View 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

Submodule footprints added at 50df46ece7

9
setup.sh Executable file
View 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

Submodule symbols added at 5ec4fed9f9

2
update.sh Executable file
View File

@@ -0,0 +1,2 @@
#!/usr/bin/env bash
git submodule foreach git pull