Added script to update visio stencil from png icons
This commit is contained in:
parent
0f33f93d32
commit
ad8546ddfd
|
|
@ -0,0 +1,4 @@
|
|||
#/bin/bash
|
||||
|
||||
./tools/rasterize.sh
|
||||
./tools/update-visio.sh
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
#/bin/bash
|
||||
|
||||
CONTENT_PATH="${PWD}/../png"
|
||||
OUTPUT_FILENAME="kubernetes-visio-stencil"
|
||||
|
||||
curl -s -N https://raw.githubusercontent.com/hoveytechllc/visio-stencil-creator/master/scripts/build-and-run.sh | bash -s --content-path=${CONTENT_PATH} --output-filename=${OUTPUT_FILENAME}
|
||||
|
||||
if [ -f ${CONTENT_PATH}/${OUTPUT_FILENAME}.vssx ]; then
|
||||
mv ${CONTENT_PATH}/${OUTPUT_FILENAME} ./visio/${OUTPUT_FILENAME}.vssx
|
||||
else
|
||||
echo "ERROR -> Visio Stencil was not in expected path: "${CONTENT_PATH}/${OUTPUT_FILENAME}
|
||||
exit 1
|
||||
fi
|
||||
Loading…
Reference in New Issue