Added script to update visio stencil from png icons

This commit is contained in:
David Hovey 2019-06-06 11:49:49 -07:00
parent 0f33f93d32
commit ad8546ddfd
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,4 @@
#/bin/bash
./tools/rasterize.sh
./tools/update-visio.sh

View File

@ -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