kicad-source/new/make-dir-lib-source-test-data.sh

23 lines
356 B
Bash
Raw Normal View History

2010-12-27 10:49:39 -06:00
#!/bin/sh
BASEDIR=/tmp/eeschema-lib
CATEGORIES="lions tigers kitties"
PARTS="eyes ears feet"
REVS="rev1 rev5 rev10"
for C in ${CATEGORIES}; do
mkdir -p $BASEDIR/$C
for P in ${PARTS}; do
for R in ${REVS}; do
(part $C/$P/$R extends $P/$R (value 22)(footprint SM0805)) > $BASEDIR/$C/$P.part.$R
2010-12-27 10:49:39 -06:00
done
done
done