diff options
| author | David Hovey <david@hoveytech.com> | 2019-06-06 11:49:49 -0700 |
|---|---|---|
| committer | David Hovey <david@hoveytech.com> | 2019-06-06 11:49:49 -0700 |
| commit | ad8546ddfd326ca88193678bd168a89084e81bc7 (patch) | |
| tree | f7c163e3b497e42b8b1e99b9204b4a821a5abd6e /icons/tools | |
| parent | 0f33f93d3282848f535f8c4b18ac94aab71c647b (diff) | |
Added script to update visio stencil from png icons
Diffstat (limited to 'icons/tools')
| -rw-r--r-- | icons/tools/update-everything.sh | 4 | ||||
| -rw-r--r-- | icons/tools/update-visio.sh | 13 |
2 files changed, 17 insertions, 0 deletions
diff --git a/icons/tools/update-everything.sh b/icons/tools/update-everything.sh new file mode 100644 index 00000000..da7ed4d9 --- /dev/null +++ b/icons/tools/update-everything.sh @@ -0,0 +1,4 @@ +#/bin/bash + +./tools/rasterize.sh +./tools/update-visio.sh
\ No newline at end of file diff --git a/icons/tools/update-visio.sh b/icons/tools/update-visio.sh new file mode 100644 index 00000000..58bdd27e --- /dev/null +++ b/icons/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 |
