Skip to content

Commit 18fdf3c

Browse files
authored
Merge pull request #474 from tisnik/lcore-552-generate-configuration-diagram-in-svg-format
LCORE-552: generate configuration diagram in SVG format
2 parents 8dd2924 + 8a64476 commit 18fdf3c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,13 @@ docs/config.png: docs/config.puml ## Generate an image with configuration graph
5858
mv classes.png config.png && \
5959
popd
6060

61+
docs/config.svg: docs/config.puml ## Generate an SVG with configuration graph
62+
pushd docs && \
63+
java -jar ${PATH_TO_PLANTUML}/plantuml.jar --theme rose config.puml -tsvg && \
64+
xmllint --format classes.svg > config.svg && \
65+
rm classes.svg && \
66+
popd
67+
6168
shellcheck: ## Run shellcheck
6269
wget -qO- "https://github.com/koalaman/shellcheck/releases/download/stable/shellcheck-stable.linux.x86_64.tar.xz" | tar -xJv \
6370
shellcheck --version

0 commit comments

Comments
 (0)