Fixed accidental removal of douille
This commit is contained in:
parent
f15a7653ef
commit
3fdbd10163
8
.travis.yml
Normal file
8
.travis.yml
Normal file
|
@ -0,0 +1,8 @@
|
|||
#sudo: required
|
||||
before_install:
|
||||
- git clone https://github.com/KiCad/kicad-library-utils /home/travis/build/kicad-library-utils
|
||||
- git clone https://github.com/KiCad/kicad-library /home/travis/build/kicad-library-old
|
||||
|
||||
script:
|
||||
- sudo bash ./library-check.sh $TRAVIS_BUILD_DIR
|
||||
|
11
library-check.sh
Normal file
11
library-check.sh
Normal file
|
@ -0,0 +1,11 @@
|
|||
error=0
|
||||
DATA=()
|
||||
for files in library/*.lib; do
|
||||
DATA+=($files)
|
||||
done
|
||||
cd /home/travis/build/kicad-library-utils/schlib
|
||||
for file in "${DATA[@]}"; do
|
||||
python3 comparelibs.py --check --new /$1/$file --old /home/travis/build/kicad-library-old/$file
|
||||
error="$(($error+$?))"
|
||||
done
|
||||
exit $error
|
Loading…
Reference in a new issue