Files
ortools-clone/cmake/docs/generate_image.sh

24 lines
728 B
Bash
Raw Normal View History

2020-09-30 18:22:24 +02:00
#!/usr/bin/env bash
# Copyright 2010-2025 Google LLC
2022-06-17 14:23:05 +02:00
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
2020-09-30 18:22:24 +02:00
set -euxo pipefail
2020-02-17 17:29:42 +01:00
2020-09-30 18:22:24 +02:00
# Check plantuml is in PATH
command -v plantuml
rm -f "*.svg"
2020-02-17 17:29:42 +01:00
for i in *.dot; do
2020-03-09 11:48:13 +01:00
plantuml -Tsvg "$i";
2020-02-17 17:29:42 +01:00
done