summaryrefslogtreecommitdiffstats
path: root/scripts/dot_to_png.sh
blob: 9f8273c0d222c2de9e177ebd6c9bff67d3c6b4d0 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

for i in *.gv
do
  echo "$i"
  outputpng=${i//gv/png}
  echo "$outputpng"
  dot -v -Tpng:cairo -o "$outputpng" "$i"
done