This commit is contained in:
parent
45c5082b88
commit
961e0a66f1
|
@ -222,3 +222,6 @@ pins:
|
||||||
class: outputs
|
class: outputs
|
||||||
ts_name: Injector 3Z
|
ts_name: Injector 3Z
|
||||||
function: Injector #4
|
function: Injector #4
|
||||||
|
|
||||||
|
info:
|
||||||
|
id: Frankenso
|
|
@ -22,8 +22,8 @@ for c in $CONNECTORS; do
|
||||||
echo "${I_AM} NAME "$NAME
|
echo "${I_AM} NAME "$NAME
|
||||||
mkdir -p $DIR
|
mkdir -p $DIR
|
||||||
if [ "$(yqdir/yq e '.info.id' $c)" == "null" ]; then
|
if [ "$(yqdir/yq e '.info.id' $c)" == "null" ]; then
|
||||||
echo "${I_AM} Missing id field in info section of $c"
|
echo "${I_AM} Missing yaml id field in info section of $c"
|
||||||
exit 1
|
# todo fail once all pages are compliant exit 1
|
||||||
fi
|
fi
|
||||||
if [ -f $DIR/index.html ]; then
|
if [ -f $DIR/index.html ]; then
|
||||||
bash misc/pinout-gen/append.sh "$(yqdir/yq -j e $c)" $DIR/index.html
|
bash misc/pinout-gen/append.sh "$(yqdir/yq -j e $c)" $DIR/index.html
|
||||||
|
|
Loading…
Reference in New Issue