Browse Source

add example

pull/4/head
fedy95 4 years ago
parent
commit
efcd32483c
  1. 8
      example/build.sh
  2. 0
      example/docs/.gitkeep
  3. 5
      example/generate.sh
  4. 0
      example/puml/.gitkeep

8
example/build.sh

@ -0,0 +1,8 @@
#!/bin/sh
# shellcheck disable=SC2046
IMAGE="registry.fedy95.com/baseimage-plantuml:latest"
docker pull $IMAGE
docker run --rm -v $(pwd):/docs -u $(id -u) --entrypoint ./docs/generate.sh $IMAGE

0
example/docs/.gitkeep

5
example/generate.sh

@ -0,0 +1,5 @@
#!/bin/sh
PLANTUML="java -jar plantuml.jar"
$PLANTUML /docs/puml/*.puml -o "../images"

0
example/puml/.gitkeep