add maintenance script

This commit is contained in:
2022-08-08 11:59:29 -07:00
parent 9691467c69
commit 516885ce27

11
check-gerbers.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/usr/bin/env bash
# see if gerbers need updating before commit
for i in `find -type d -name fabrication | sed "s/\/fabrication//;s/.\///"`
do
if [ $i/$i.kicad_pcb -nt $i/fabrication/$i-F_Cu.gbr ]
then
echo $i: update gerbers
fi
done