File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed
Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 1- # Copyright 2020 Red Hat, Inc
1+ #! /usr/bin/env bash
2+
3+ # Copyright 2020-2026 Red Hat, Inc
24#
35# Licensed under the Apache License, Version 2.0 (the "License");
46# you may not use this file except in compliance with the License.
1214# See the License for the specific language governing permissions and
1315# limitations under the License.
1416
15- pushd ..
17+ pushd .. || exit 1
1618goplantuml -recursive . > class_diagram.uml
1719java -jar ~ /tools/plantuml.jar class_diagram.uml
1820java -jar ~ /tools/plantuml.jar -tsvg class_diagram.uml
@@ -21,4 +23,4 @@ mv class_diagram.uml docs/
2123mv class_diagram.svg docs/images/
2224mv class_diagram_.svg docs/images/
2325mv class_diagram.png docs/images/
24- popd
26+ popd || exit
Original file line number Diff line number Diff line change 1- # Copyright 2020, 2021 Red Hat, Inc
1+ #! /usr/bin/env bash
2+ # Copyright 2020-2026 Red Hat, Inc
23#
34# Licensed under the Apache License, Version 2.0 (the "License");
45# you may not use this file except in compliance with the License.
2122# More info about `CLASSPATH` is available at
2223# https://docs.oracle.com/javase/tutorial/essential/environment/paths.html
2324
24- pushd ..
25+ pushd .. || exit 1
2526goplantuml -recursive . > class_diagram.uml
2627java -jar ~ /tools/plantuml.jar class_diagram.uml
2728java -jar ~ /tools/plantuml.jar -tsvg class_diagram.uml
@@ -30,4 +31,4 @@ mv class_diagram_.svg class_diagram.svg
3031mv class_diagram.uml docs/
3132mv class_diagram.svg docs/
3233mv class_diagram.png docs/
33- popd
34+ popd || exit
You can’t perform that action at this time.
0 commit comments